forked from Public/monero-gui
Merge pull request #2781
a0b6c8a PasswordDialog: don't skip equality check (selsta)
This commit is contained in:
@@ -253,6 +253,9 @@ Item {
|
|||||||
Keys.enabled: root.visible
|
Keys.enabled: root.visible
|
||||||
Keys.onEnterPressed: Keys.onReturnPressed(event)
|
Keys.onEnterPressed: Keys.onReturnPressed(event)
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
|
if (!passwordDialogMode && passwordInput1.text !== passwordInput2.text) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
root.close()
|
root.close()
|
||||||
if (passwordDialogMode) {
|
if (passwordDialogMode) {
|
||||||
root.accepted()
|
root.accepted()
|
||||||
|
|||||||
Reference in New Issue
Block a user