History: add sync notice

This commit is contained in:
tobtoht
2021-01-21 01:22:17 +01:00
parent f343398479
commit 2237d5eff8
8 changed files with 103 additions and 4 deletions
+2
View File
@@ -316,6 +316,7 @@ void AppContext::onWalletOpened(Wallet *wallet) {
return;
}
this->refreshed = false;
this->currentWallet = wallet;
this->walletPath = this->currentWallet->path() + ".keys";
this->walletViewOnly = this->currentWallet->viewOnly();
@@ -716,6 +717,7 @@ void AppContext::onWalletRefreshed(bool success) {
if (!this->refreshed) {
refreshModels();
this->refreshed = true;
emit walletRefreshed();
// store wallet immediately upon finishing synchronization
this->currentWallet->store();
}