mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-06 01:42:06 +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.daemon_address = settings.daemon_address
|
||||||
appWindow.persistentSettings.testnet = settings.testnet
|
appWindow.persistentSettings.testnet = settings.testnet
|
||||||
appWindow.persistentSettings.restore_height = parseInt(settings.restore_height)
|
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;
|
var success = wallet.status === Wallet.Status_Ok;
|
||||||
if (success) {
|
if (success) {
|
||||||
settingsObject['wallet'] = wallet;
|
settingsObject['wallet'] = wallet;
|
||||||
settingsObject['is_restoring'] = true;
|
settingsObject['is_recovering'] = true;
|
||||||
} else {
|
} else {
|
||||||
walletManager.closeWallet(wallet);
|
walletManager.closeWallet(wallet);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user