]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
wallet: refresh models on update
authortobtoht <tob@featherwallet.org>
Sat, 17 Jun 2023 19:37:46 +0000 (21:37 +0200)
committertobtoht <tob@featherwallet.org>
Sat, 17 Jun 2023 19:37:46 +0000 (21:37 +0200)
src/libwalletqt/Wallet.cpp

index 05cff82d109add099e2a7bc9490731b56e83cd8a..b869fc346da598c81b6e8e3edb13675c6807ac4c 100644 (file)
@@ -433,6 +433,9 @@ void Wallet::onNewBlock(uint64_t walletHeight) {
 
 void Wallet::onUpdated() {
     this->updateBalance();
+    if (this->isSynchronized()) {
+        this->refreshModels();
+    }
 }
 
 void Wallet::onRefreshed(bool success, const QString &message) {