aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-06-09 13:54:17 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-06-09 13:54:17 -0500
commite1d3cf1b98ef2785f16baf36fb3e59e8d83b4da5 (patch)
tree29187bfcad6b828ce7143ac5d4e959678996fa75 /wizard
parentb1ee39cd28b9ad3a8e0e9a9b0f782f76d4c5fc17 (diff)
parent1f5b22149c10e0a0095b12821541c0c691e18a3f (diff)
downloadmonzero-gui-e1d3cf1b98ef2785f16baf36fb3e59e8d83b4da5.tar.gz
monzero-gui-e1d3cf1b98ef2785f16baf36fb3e59e8d83b4da5.tar.xz
monzero-gui-e1d3cf1b98ef2785f16baf36fb3e59e8d83b4da5.zip
Merge pull request #3902
1f5b221 WizardCreateDevice1: set default restore height to 1 (selsta)
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardCreateDevice1.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/wizard/WizardCreateDevice1.qml b/wizard/WizardCreateDevice1.qml
index 9c12c500..4bf54360 100644
--- a/wizard/WizardCreateDevice1.qml
+++ b/wizard/WizardCreateDevice1.qml
@@ -185,7 +185,7 @@ Rectangle {
validator: RegExpValidator {
regExp: /^(\d+|\d{4}-\d{2}-\d{2})$/
}
- text: "0"
+ text: "1"
}
CheckBox2 {
@@ -237,7 +237,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);
}
@@ -259,7 +259,7 @@ Rectangle {
newDeviceWallet.checked = true;
restoreDeviceWallet.checked = false;
wizardController.walletOptionsDeviceIsRestore = false;
- restoreHeight.text = "";
+ restoreHeight.text = "1";
lookahead.text = "";
errorMsg.text = "";
}