mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-14 04:16:33 +02:00
wizard: save recovering state
This commit is contained in:
parent
06d628b696
commit
625ae77945
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user