fix: use validation method that also works 2024.1

This commit is contained in:
Jakub Blach 2025-08-16 20:51:44 +02:00
parent a37f3730c5
commit aa2382eb77

View file

@ -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