Skip to content

Commit

Permalink
Toggle integer's uppercase option based on base
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Jan 3, 2024
1 parent e0d3269 commit 0fbe43c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
### Added
* Added support for UUID versions 6, 7, and 8. ([#513](https://github.com/FWDekker/intellij-randomness/issues/513))

### Fixed
* Disabled uppercase option for integers when base is 10 or lower.


## 3.1.0 -- 2023-12-08
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class IntegerSchemeEditor(scheme: IntegerScheme = IntegerScheme()) : SchemeEdito

row {
checkBox(Bundle("integer.ui.format.uppercase_option"))
.enabledIf(base.hasValue { it > DECIMAL_BASE })
.loadMnemonic()
.withName("isUppercase")
.bindSelected(scheme::isUppercase)
Expand Down

0 comments on commit 0fbe43c

Please sign in to comment.