WizardCreateDevice1: reset fields when opening page

This commit is contained in:
rating89us 2021-11-27 19:45:50 +01:00 committed by GitHub
parent c72729fa5d
commit 31ae9b3947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = "";
}
}