mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-25 01:53:43 +01:00
Merge pull request #2781
a0b6c8a
PasswordDialog: don't skip equality check (selsta)
This commit is contained in:
commit
cb84652c8e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user