mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 12:30:10 +00:00
Restore: display red border if invalid seed
This commit is contained in:
parent
cb1f3ad0ce
commit
cd3a0f85a6
1 changed files with 2 additions and 4 deletions
|
@ -51,10 +51,8 @@ Rectangle {
|
||||||
valid = wizardRestoreWallet1.verifyFromKeys();
|
valid = wizardRestoreWallet1.verifyFromKeys();
|
||||||
return valid;
|
return valid;
|
||||||
} else if(wizardController.walletRestoreMode === "seed") {
|
} else if(wizardController.walletRestoreMode === "seed") {
|
||||||
valid = wizardWalletInput.verify();
|
seedInput.error = seedInput.text && !Wizard.checkSeed(seedInput.text);
|
||||||
if(!valid) return false;
|
return wizardWalletInput.verify() && seedInput.text && Wizard.checkSeed(seedInput.text);
|
||||||
valid = Wizard.checkSeed(seedInput.text);
|
|
||||||
return valid;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue