From 9e59d313736c0dc94f2a32c6b72042ba43dfa1a0 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sat, 17 Jun 2023 21:37:46 +0200 Subject: [PATCH] wallet: refresh models on update --- src/libwalletqt/Wallet.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.52.0