aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-11-27 19:45:50 +0100
committerGitHub <noreply@github.com>2021-11-27 19:45:50 +0100
commit31ae9b3947b8eb640301a98332faeef459a5970e (patch)
tree3c701b78b5f61d7111f2ef9fd8c88cca22797a1a /wizard
parentc72729fa5db0d018b0929866fb847ac99e05086f (diff)
downloadmonzero-gui-31ae9b3947b8eb640301a98332faeef459a5970e.tar.gz
monzero-gui-31ae9b3947b8eb640301a98332faeef459a5970e.tar.xz
monzero-gui-31ae9b3947b8eb640301a98332faeef459a5970e.zip
WizardCreateDevice1: reset fields when opening page
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardCreateDevice1.qml7
1 files changed, 7 insertions, 0 deletions
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 = "";
}
}