From ddd95f73b4e6570239d2ce4647db58dd6700f54d Mon Sep 17 00:00:00 2001 From: reemuru Date: Sun, 13 Feb 2022 14:04:13 -0500 Subject: [PATCH] settings: bind return key after password change The enter / return key is not bound to the information popup that appears after a successful password change. The functionality exists on the previous menu. Make it possible to use the return key on this popup as well. Co-authored-by: selsta --- main.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.qml b/main.qml index f856539a..588202db 100644 --- a/main.qml +++ b/main.qml @@ -1692,6 +1692,9 @@ ApplicationWindow { informationPopup.open(); } onRejectedNewPassword: {} + Keys.enabled: !passwordDialog.visible && informationPopup.visible + Keys.onEnterPressed: informationPopup.close() + Keys.onReturnPressed: informationPopup.close() } DevicePassphraseDialog {