forked from Public/monero-gui
standardDialog: close window before continue
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user