diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:19:32 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:19:32 -0500 |
| commit | abd98b95f6e7d98544a0c1becc5aa719abfaeadb (patch) | |
| tree | cb096bcdfba99dbb195adba7436100a9483b658c /components/PasswordDialog.qml | |
| parent | 78f8cb259532de5626e90f1e1992bfe6ce0ef089 (diff) | |
| parent | 38d412a3fa3bcf7b200bfc88b9a00a22e3b6601d (diff) | |
| download | monzero-gui-abd98b95f6e7d98544a0c1becc5aa719abfaeadb.tar.gz monzero-gui-abd98b95f6e7d98544a0c1becc5aa719abfaeadb.tar.xz monzero-gui-abd98b95f6e7d98544a0c1becc5aa719abfaeadb.zip | |
Merge pull request #2578
38d412a components: handle enter and return (selsta)
Diffstat (limited to 'components/PasswordDialog.qml')
| -rw-r--r-- | components/PasswordDialog.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml index 18bccdfe..587d484e 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -254,6 +254,7 @@ Item { } Keys.enabled: root.visible + Keys.onEnterPressed: Keys.onReturnPressed(event) Keys.onReturnPressed: { root.close() if (passwordDialogMode) { @@ -352,6 +353,8 @@ Item { } } + Keys.enabled: root.visible + Keys.onEnterPressed: Keys.onReturnPressed(event) Keys.onReturnPressed: { if (passwordInput1.text === passwordInput2.text) { root.close() |
