mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Merge pull request #3902
1f5b221
WizardCreateDevice1: set default restore height to 1 (selsta)
This commit is contained in:
commit
e1d3cf1b98
@ -185,7 +185,7 @@ Rectangle {
|
|||||||
validator: RegExpValidator {
|
validator: RegExpValidator {
|
||||||
regExp: /^(\d+|\d{4}-\d{2}-\d{2})$/
|
regExp: /^(\d+|\d{4}-\d{2}-\d{2})$/
|
||||||
}
|
}
|
||||||
text: "0"
|
text: "1"
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox2 {
|
CheckBox2 {
|
||||||
@ -237,7 +237,7 @@ Rectangle {
|
|||||||
wizardController.walletOptionsDeviceName = wizardCreateDevice1.deviceName;
|
wizardController.walletOptionsDeviceName = wizardCreateDevice1.deviceName;
|
||||||
if(lookahead.text)
|
if(lookahead.text)
|
||||||
wizardController.walletOptionsSubaddressLookahead = lookahead.text;
|
wizardController.walletOptionsSubaddressLookahead = lookahead.text;
|
||||||
if(restoreHeight.text){
|
if (restoreHeight.text && wizardController.walletOptionsDeviceIsRestore) {
|
||||||
wizardController.walletOptionsRestoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(restoreHeight.text);
|
wizardController.walletOptionsRestoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(restoreHeight.text);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,7 +259,7 @@ Rectangle {
|
|||||||
newDeviceWallet.checked = true;
|
newDeviceWallet.checked = true;
|
||||||
restoreDeviceWallet.checked = false;
|
restoreDeviceWallet.checked = false;
|
||||||
wizardController.walletOptionsDeviceIsRestore = false;
|
wizardController.walletOptionsDeviceIsRestore = false;
|
||||||
restoreHeight.text = "";
|
restoreHeight.text = "1";
|
||||||
lookahead.text = "";
|
lookahead.text = "";
|
||||||
errorMsg.text = "";
|
errorMsg.text = "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user