mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
Fix 'Create wallet' button getting stuck until restart when invalid seed is used
This commit is contained in:
parent
08e2eafb7c
commit
76c9338648
1 changed files with 7 additions and 5 deletions
|
@ -82,11 +82,13 @@ Rectangle {
|
|||
btnNext.enabled = false;
|
||||
wizardController.wizardStateView.wizardRestoreWallet2View.pwField = "";
|
||||
wizardController.wizardStateView.wizardRestoreWallet2View.pwConfirmField = "";
|
||||
wizardController.recoveryWallet();
|
||||
wizardController.writeWallet(function() {
|
||||
wizardController.useMoneroClicked();
|
||||
btnNext.enabled = true;
|
||||
});
|
||||
var recoveryResult = wizardController.recoveryWallet();
|
||||
if (recoveryResult) {
|
||||
wizardController.writeWallet(function () {
|
||||
wizardController.useMoneroClicked();
|
||||
});
|
||||
}
|
||||
btnNext.enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue