mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-24 02:23:45 +01:00
Merge pull request #90
6aa5ced
keep restoring state until first refresh is finished (Jacob Brydolf)
This commit is contained in:
commit
6c6b10855f
20
main.qml
20
main.qml
@ -246,9 +246,18 @@ ApplicationWindow {
|
||||
leftPanel.daemonProgress.updateProgress(dCurrentBlock,dTargetBlock);
|
||||
|
||||
// Store wallet after every refresh.
|
||||
//TODO: Doesn't need path after creation. Change libwalletqt
|
||||
currentWallet.store("")
|
||||
console.log("Saving wallet");
|
||||
if (currentWallet.blockChainHeight() > 1){
|
||||
|
||||
//TODO: Doesn't need path after creation. Change libwalletqt
|
||||
currentWallet.store("")
|
||||
console.log("Saving wallet");
|
||||
|
||||
// recovering from seed is finished after first refresh
|
||||
if(persistentSettings.is_recovering) {
|
||||
persistentSettings.is_recovering = false
|
||||
}
|
||||
}
|
||||
|
||||
isNewWallet = false
|
||||
|
||||
// initialize transaction history once wallet is initializef first time;
|
||||
@ -257,11 +266,6 @@ ApplicationWindow {
|
||||
walletInitialized = true
|
||||
}
|
||||
|
||||
// recovering from seed is finished after first refresh
|
||||
if(persistentSettings.is_recovering) {
|
||||
persistentSettings.is_recovering = false
|
||||
}
|
||||
|
||||
leftPanel.networkStatus.connected = currentWallet.connected
|
||||
|
||||
onWalletUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user