HomePhabricator

[backport#16952] gui: make sure to update the UI when deleting a transaction

Description

[backport#16952] gui: make sure to update the UI when deleting a transaction

Summary:
make sure to update the UI when deleting a transaction (Jonas Schnelli)

Pull request description:

`CWallet::ZapSelectTx` removes transactions from the internal model, but leaves the UI in the dark.
Adding a `NotifyTransactionChanged()` should avoid having invalid transactions in the GUI.

Fixes #16950

https://github.com/bitcoin/bitcoin/pull/16952/commits/addaf8af8268d918973883a304025d40af5a33c1


Backport of Core PR16952

Test Plan:

ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7054

Details

Provenance
Wladimir J. van der Laan <laanwj@protonmail.com>Authored on Oct 2 2019, 13:49
majcostaCommitted on Jul 28 2020, 08:26
majcostaPushed on Jul 28 2020, 08:26
Reviewer
Restricted Project
Differential Revision
D7054: [backport#16952] gui: make sure to update the UI when deleting a transaction
Parents
rABC3312619d73cc: [backport#16796] wallet: Fix segfault in CreateWalletFromFile
Branches
Unknown
Tags
Unknown