diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-02-28 16:09:36 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-02-28 16:09:36 -0500 |
| commit | cb84652c8e28babe4d0c493b96858c5a12aedc37 (patch) | |
| tree | 0d7c3ce694d0a6642ea1bb639437f63e2c0a3fb6 | |
| parent | 44dfb80633baee456222cad3b67e2295ce1ee960 (diff) | |
| parent | a0b6c8a397222762228014df85bf87e563de9658 (diff) | |
| download | monzero-gui-cb84652c8e28babe4d0c493b96858c5a12aedc37.tar.gz monzero-gui-cb84652c8e28babe4d0c493b96858c5a12aedc37.tar.xz monzero-gui-cb84652c8e28babe4d0c493b96858c5a12aedc37.zip | |
Merge pull request #2781
a0b6c8a PasswordDialog: don't skip equality check (selsta)
| -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 964ab9a6..43d2a2e6 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -253,6 +253,9 @@ Item { Keys.enabled: root.visible Keys.onEnterPressed: Keys.onReturnPressed(event) Keys.onReturnPressed: { + if (!passwordDialogMode && passwordInput1.text !== passwordInput2.text) { + return; + } root.close() if (passwordDialogMode) { root.accepted() |
