From ded3ee520d1ef5c4a0d4a4a0ffba6788999ee65b Mon Sep 17 00:00:00 2001 From: gg Date: Mon, 19 Jan 2026 16:17:41 -0500 Subject: [PATCH] wip --- src/libwalletqt/Wallet.cpp | 6 ++++++ src/libwalletqt/Wallet.h | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index d2ec3d5a..19286869 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -1767,6 +1767,12 @@ void Wallet::scanMempool() { if (!process_txs.empty()) { m_wallet2->process_pool_state(process_txs); } + + // Refresh models so the UI picks up the new transaction(s) + if (m_history) m_history->refresh(); + if (m_coins) m_coins->refresh(); + if (m_subaddress) m_subaddress->refresh(); + emit updated(); } catch (const std::exception &e) { qWarning() << "Failed to scan mempool:" << e.what(); diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index ee9a27a9..19d4e9d3 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -240,7 +240,6 @@ public: quint64 daemonBlockChainTargetHeight() const; void syncStatusUpdated(quint64 height, quint64 target); - void setSyncPaused(bool paused); Q_INVOKABLE void skipToTip(); Q_INVOKABLE void syncDateRange(const QDate &start, const QDate &end); -- 2.52.0