From f506c0a7f8ea6bae089177884e44e38cd2bfeb23 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 --- src/qt/sendcoinsdialog.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 871822ccb4..f3433ef57d 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()) {