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;
|
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();
|
||||||
wizardController.writeWallet(function() {
|
if (recoveryResult) {
|
||||||
wizardController.useMoneroClicked();
|
wizardController.writeWallet(function () {
|
||||||
btnNext.enabled = true;
|
wizardController.useMoneroClicked();
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
btnNext.enabled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue