mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +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,12 +82,14 @@ Rectangle {
|
||||||
btnNext.enabled = false;
|
btnNext.enabled = false;
|
||||||
wizardController.wizardStateView.wizardRestoreWallet2View.pwField = "";
|
wizardController.wizardStateView.wizardRestoreWallet2View.pwField = "";
|
||||||
wizardController.wizardStateView.wizardRestoreWallet2View.pwConfirmField = "";
|
wizardController.wizardStateView.wizardRestoreWallet2View.pwConfirmField = "";
|
||||||
wizardController.recoveryWallet();
|
var recoveryResult = wizardController.recoveryWallet();
|
||||||
|
if (recoveryResult) {
|
||||||
wizardController.writeWallet(function () {
|
wizardController.writeWallet(function () {
|
||||||
wizardController.useMoneroClicked();
|
wizardController.useMoneroClicked();
|
||||||
btnNext.enabled = true;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
btnNext.enabled = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue