Wizard: finish page: restore height hidden if not set

This commit is contained in:
Ilya Kitaev 2016-10-09 21:49:07 +03:00
parent d67071a7a4
commit 54b22d21a8
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ Item {
+ qsTr("<b>Allow background mining: </b>") + wizard.settings['allow_background_mining'] + "<br>"
+ qsTr("<b>Daemon address: </b>") + wizard.settings['daemon_address'] + "<br>"
+ qsTr("<b>testnet: </b>") + wizard.settings['testnet'] + "<br>"
+ qsTr("<b>Restore height: </b>") + wizard.settings['restoreHeight'] + "<br>"
+ (wizard.settings['restore_height'] === undefined ? "" : qsTr("<b>Restore height: </b>") + wizard.settings['restore_height']) + "<br>"
+ translationManager.emptyString
return str;
}

View file

@ -137,7 +137,7 @@ Rectangle {
appWindow.persistentSettings.auto_donations_amount = settings.auto_donations_amount
appWindow.persistentSettings.daemon_address = settings.daemon_address
appWindow.persistentSettings.testnet = settings.testnet
appWindow.persistentSettings.restoreHeight = parseInt(settings.restoreHeight)
appWindow.persistentSettings.restore_height = parseInt(settings.restore_height)
}