From f78e7f6589eca50650ecd2010c41333b12f964b0 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Wed, 14 Feb 2018 14:23:43 +0100 Subject: [PATCH] [qt] send: Clear All also resets coin control options Github-Pull: #12432 Rebased-From: f506c0a7f8ea6bae089177884e44e38cd2bfeb23 --- src/qt/sendcoinsdialog.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 1227e340c..bd02fde30 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -375,6 +375,12 @@ void SendCoinsDialog::on_sendButton_clicked() void SendCoinsDialog::clear() { + // Clear coin control settings + CoinControlDialog::coinControl()->UnSelectAll(); + ui->checkBoxCoinControlChange->setChecked(false); + ui->lineEditCoinControlChange->clear(); + coinControlUpdateLabels(); + // Remove entries until only one left while(ui->entries->count()) {