diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-09-24 11:15:15 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-09-24 11:15:15 +0200 |
commit | addaf8af8268d918973883a304025d40af5a33c1 (patch) | |
tree | 5895bccd209c5b4b8ce75ac0ac2e06884b29d897 | |
parent | 3ce829888861a6dc6a29da669584ada961d965fa (diff) |
make sure to update the UI when deleting a transaction
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 7cf09d554b..23f61602d2 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3376,6 +3376,7 @@ DBErrors CWallet::ZapSelectTx(std::vector<uint256>& vHashIn, std::vector<uint256 const auto& it = mapWallet.find(hash); wtxOrdered.erase(it->second.m_it_wtxOrdered); mapWallet.erase(it); + NotifyTransactionChanged(this, hash, CT_DELETED); } if (nZapSelectTxRet == DBErrors::NEED_REWRITE) |