mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-02 19:16:27 +00:00
standardDialog: close window before continue
This commit is contained in:
parent
5a110f410f
commit
5da9f8fbe4
1 changed files with 3 additions and 2 deletions
|
@ -109,8 +109,9 @@ Window {
|
||||||
text: qsTr("Ok")
|
text: qsTr("Ok")
|
||||||
KeyNavigation.tab: cancelButton
|
KeyNavigation.tab: cancelButton
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.accepted()
|
|
||||||
root.close()
|
root.close()
|
||||||
|
root.accepted()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,8 +126,8 @@ Window {
|
||||||
text: qsTr("Cancel")
|
text: qsTr("Cancel")
|
||||||
KeyNavigation.tab: passwordInput
|
KeyNavigation.tab: passwordInput
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.rejected()
|
|
||||||
root.close()
|
root.close()
|
||||||
|
root.rejected()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue