Skip to content

Commit 9c383bc

Browse files
committed
Merge pull request #3838
ddd95f7 settings: bind return key after password change (reemuru)
2 parents 4fba8e6 + ddd95f7 commit 9c383bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.qml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,6 +1709,9 @@ ApplicationWindow {
17091709
informationPopup.open();
17101710
}
17111711
onRejectedNewPassword: {}
1712+
Keys.enabled: !passwordDialog.visible && informationPopup.visible
1713+
Keys.onEnterPressed: informationPopup.close()
1714+
Keys.onReturnPressed: informationPopup.close()
17121715
}
17131716

17141717
DevicePassphraseDialog {

0 commit comments

Comments
 (0)