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 <selsta@users.noreply.github.com>
This commit is contained in:
reemuru 2022-02-13 14:04:13 -05:00
parent a959919b8a
commit ddd95f73b4
No known key found for this signature in database
GPG Key ID: 5EDBFEFFA9E9A7AB
1 changed files with 3 additions and 0 deletions

View File

@ -1692,6 +1692,9 @@ ApplicationWindow {
informationPopup.open();
}
onRejectedNewPassword: {}
Keys.enabled: !passwordDialog.visible && informationPopup.visible
Keys.onEnterPressed: informationPopup.close()
Keys.onReturnPressed: informationPopup.close()
}
DevicePassphraseDialog {