mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-23 19:15:56 +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")
|
||||
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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue