From 31ae9b3947b8eb640301a98332faeef459a5970e Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Sat, 27 Nov 2021 19:45:50 +0100 Subject: [PATCH] WizardCreateDevice1: reset fields when opening page --- wizard/WizardCreateDevice1.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wizard/WizardCreateDevice1.qml b/wizard/WizardCreateDevice1.qml index f2d4bb9a..1856d959 100644 --- a/wizard/WizardCreateDevice1.qml +++ b/wizard/WizardCreateDevice1.qml @@ -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 = ""; } }