Merge pull request #3756

31ae9b3 WizardCreateDevice1: reset fields when opening page (rating89us)
This commit is contained in:
luigi1111 2021-12-02 00:04:49 -06:00
commit ecadd44a16
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -249,6 +249,13 @@ Rectangle {
function onPageCompleted(previousView){
if(previousView.viewName == "wizardHome"){
walletInput.reset();
deviceNameDropdown.currentIndex = 0;
newDeviceWallet.checked = true;
restoreDeviceWallet.checked = false;
wizardController.walletOptionsDeviceIsRestore = false;
restoreHeight.text = "";
lookahead.text = "";
errorMsg.text = "";
}
}