diff options
Diffstat (limited to 'wizard/WizardCreateDevice1.qml')
| -rw-r--r-- | wizard/WizardCreateDevice1.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizard/WizardCreateDevice1.qml b/wizard/WizardCreateDevice1.qml index 037c5aee..82971b88 100644 --- a/wizard/WizardCreateDevice1.qml +++ b/wizard/WizardCreateDevice1.qml @@ -199,7 +199,7 @@ Rectangle { validator: RegExpValidator { regExp: /^(\d+|\d{4}-\d{2}-\d{2})$/ } - text: "0" + text: "1" } CheckBox2 { @@ -251,7 +251,7 @@ Rectangle { wizardController.walletOptionsDeviceName = wizardCreateDevice1.deviceName; if(lookahead.text) wizardController.walletOptionsSubaddressLookahead = lookahead.text; - if(restoreHeight.text){ + if (restoreHeight.text && wizardController.walletOptionsDeviceIsRestore) { wizardController.walletOptionsRestoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(restoreHeight.text); } @@ -273,7 +273,7 @@ Rectangle { newDeviceWallet.checked = true; restoreDeviceWallet.checked = false; wizardController.walletOptionsDeviceIsRestore = false; - restoreHeight.text = ""; + restoreHeight.text = "1"; lookahead.text = ""; errorMsg.text = ""; } |
