wizard: save recovering state

This commit is contained in:
Jacob Brydolf 2016-10-10 21:38:30 +02:00
parent 06d628b696
commit 625ae77945
No known key found for this signature in database
GPG Key ID: DE46246550D2F3C5
2 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,7 @@ Rectangle {
appWindow.persistentSettings.daemon_address = settings.daemon_address
appWindow.persistentSettings.testnet = settings.testnet
appWindow.persistentSettings.restore_height = parseInt(settings.restore_height)
appWindow.persistentSettings.is_recovering = (settings.is_recovering === undefined)? false : settings.is_recovering
}

View File

@ -65,7 +65,7 @@ Item {
var success = wallet.status === Wallet.Status_Ok;
if (success) {
settingsObject['wallet'] = wallet;
settingsObject['is_restoring'] = true;
settingsObject['is_recovering'] = true;
} else {
walletManager.closeWallet(wallet);
}