From: tobtoht Date: Sat, 17 Jun 2023 19:37:46 +0000 (+0200) Subject: wallet: refresh models on update X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=9e59d313736c0dc94f2a32c6b72042ba43dfa1a0;p=gamesguru%2Ffeather.git wallet: refresh models on update --- diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 05cff82d..b869fc34 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -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) {