diff options
| author | selsta <selsta@sent.at> | 2020-02-24 23:51:54 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2020-02-27 15:29:35 +0100 |
| commit | a0b6c8a397222762228014df85bf87e563de9658 (patch) | |
| tree | 0d7c3ce694d0a6642ea1bb639437f63e2c0a3fb6 /components/PasswordDialog.qml | |
| parent | 44dfb80633baee456222cad3b67e2295ce1ee960 (diff) | |
| download | monzero-gui-a0b6c8a397222762228014df85bf87e563de9658.tar.gz monzero-gui-a0b6c8a397222762228014df85bf87e563de9658.tar.xz monzero-gui-a0b6c8a397222762228014df85bf87e563de9658.zip | |
PasswordDialog: don't skip equality check
credit to consistent-dream
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 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() |
