mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-20 04:15:53 +01:00
standardDialog: close window before continue
This commit is contained in:
parent
5a110f410f
commit
5da9f8fbe4
@ -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 New Issue
Block a user