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

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