HomePhabricator

[qt] send: Clear All also resets coin control options

Description

[qt] send: Clear All also resets coin control options

Summary:
This change makes it so that a custom change address and manual input selection are removed if the user clicks Clear All in the send screen.

Backport of Bitcoin Core PR12432
https://github.com/bitcoin/bitcoin/pull/12432

Test Plan:

  1. Start BitcoinABC wallet: ./src/qt/bitcoin-qt -regtest
  2. Enable the check named Enable coin control features, at Settings -> Options -> Wallet.
  3. Go to Send dialog.
  4. Enable the check Custom change address and fill with one address at the right.
  5. Click on Clear all button.
  6. Verify that the checkbox and the Custom change address text are cleaned.

Reviewers: Fabien, #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
fpelliccioniAuthored on Sep 13 2019, 20:48
fpelliccioniPushed on Sep 20 2019, 12:37
Reviewer
Restricted Project
Differential Revision
D4078: [qt] send: Clear All also resets coin control options
Parents
rABC2d6763dd0b83: [qt] Replaces numbered place marker %2 with %1.
Branches
Unknown
Tags
Unknown