aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-03-02 19:05:53 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-03-02 19:05:53 -0500
commit9c383bcc24b10163cc06dc02fae8e4e1f17410c6 (patch)
treee02dccf1f68c910500aeda3814bcecda9d56ed2b /main.qml
parent4fba8e654d9df1a1d1595bde51338bfa5ac323ba (diff)
parentddd95f73b4e6570239d2ce4647db58dd6700f54d (diff)
downloadmonzero-gui-9c383bcc24b10163cc06dc02fae8e4e1f17410c6.tar.gz
monzero-gui-9c383bcc24b10163cc06dc02fae8e4e1f17410c6.tar.xz
monzero-gui-9c383bcc24b10163cc06dc02fae8e4e1f17410c6.zip
Merge pull request #3838
ddd95f7 settings: bind return key after password change (reemuru)
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index 57aff1b4..6e04cfe0 100644
--- a/main.qml
+++ b/main.qml
@@ -1709,6 +1709,9 @@ ApplicationWindow {
informationPopup.open();
}
onRejectedNewPassword: {}
+ Keys.enabled: !passwordDialog.visible && informationPopup.visible
+ Keys.onEnterPressed: informationPopup.close()
+ Keys.onReturnPressed: informationPopup.close()
}
DevicePassphraseDialog {