From 4637287617ff08e57f703276631a6c6cc096a118 Mon Sep 17 00:00:00 2001 From: dankl Date: Sun, 12 Jan 2020 00:45:31 +0100 Subject: [PATCH] Set isCancelButton on Cancel button --- .../net/dankito/banking/ui/javafx/dialogs/tan/EnterTanDialog.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/tan/EnterTanDialog.kt b/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/tan/EnterTanDialog.kt index 1ce49016..d9d68059 100644 --- a/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/tan/EnterTanDialog.kt +++ b/BankingJavaFxControls/src/main/kotlin/net/dankito/banking/ui/javafx/dialogs/tan/EnterTanDialog.kt @@ -153,6 +153,8 @@ open class EnterTanDialog( prefHeight = ButtonHeight prefWidth = ButtonWidth + isCancelButton = true + action { cancelledEnteringTan() } hboxConstraints {