mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-31 16:09:26 +00:00
fix restore-height fallback
This commit is contained in:
parent
a7e4e341e9
commit
8367cfab85
1 changed files with 1 additions and 1 deletions
|
@ -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.restore_height = parseInt(settings.restore_height)
|
||||
appWindow.persistentSettings.restore_height = (isNaN(settings.restore_height))? 0 : settings.restore_height
|
||||
appWindow.persistentSettings.is_recovering = (settings.is_recovering === undefined)? false : settings.is_recovering
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue