pw dialog: close popup before continue

This commit is contained in:
Jacob Brydolf 2016-11-19 15:07:49 +01:00 committed by Jaquee
parent 86772bee52
commit de635cb24f
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

View File

@ -143,8 +143,8 @@ Window {
text: qsTr("Cancel") text: qsTr("Cancel")
KeyNavigation.tab: passwordInput KeyNavigation.tab: passwordInput
onClicked: { onClicked: {
root.rejected()
root.close() root.close()
root.rejected()
} }
} }
MoneroComponents.StandardButton { MoneroComponents.StandardButton {
@ -158,8 +158,8 @@ Window {
text: qsTr("Ok") text: qsTr("Ok")
KeyNavigation.tab: cancelButton KeyNavigation.tab: cancelButton
onClicked: { onClicked: {
root.accepted()
root.close() root.close()
root.accepted()
} }
} }
} }