standardDialog: close window before continue

pull/2/head
Jacob Brydolf 8 years ago committed by Jaquee
parent 5a110f410f
commit 5da9f8fbe4
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

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