diff options
| author | Jacob Brydolf <jacob@brydolf.net> | 2016-11-07 11:09:31 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2016-11-26 19:36:19 +0100 |
| commit | 5da9f8fbe4f2221bb6ec7ce08140c17ef0754b18 (patch) | |
| tree | 9aa9cc744b12f36b13193995bd59ab8670c7bcea | |
| parent | 5a110f410f0405b0783b7e0700add0a5e7164f1a (diff) | |
| download | monzero-gui-5da9f8fbe4f2221bb6ec7ce08140c17ef0754b18.tar.gz monzero-gui-5da9f8fbe4f2221bb6ec7ce08140c17ef0754b18.tar.xz monzero-gui-5da9f8fbe4f2221bb6ec7ce08140c17ef0754b18.zip | |
standardDialog: close window before continue
| -rw-r--r-- | components/StandardDialog.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index 8f7e0e8d..f93a22ea 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -109,8 +109,9 @@ Window { text: qsTr("Ok") KeyNavigation.tab: cancelButton onClicked: { - root.accepted() root.close() + root.accepted() + } } @@ -125,8 +126,8 @@ Window { text: qsTr("Cancel") KeyNavigation.tab: passwordInput onClicked: { - root.rejected() root.close() + root.rejected() } } } |
