1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-20 04:15:53 +01:00

standardDialog: close window before continue

This commit is contained in:
Jacob Brydolf 2016-11-07 11:09:31 +01:00 committed by Jaquee
parent 5a110f410f
commit 5da9f8fbe4
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

View File

@ -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()
}
}
}