fix: use validation method that also works 2024.1
This commit is contained in:
parent
a37f3730c5
commit
aa2382eb77
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class AddLicenseKeyDialog(project: Project?) : DialogWrapper(project) {
|
|||
textField().bindText(::licenseKey)
|
||||
.horizontalAlign(HorizontalAlign.FILL)
|
||||
.focused()
|
||||
.validation {
|
||||
.validationOnApply {
|
||||
if (it.text.isBlank())
|
||||
ValidationInfo("License key cannot be empty")
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue