aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2018-02-14 14:23:43 +0100
committerMarcoFalke <falke.marco@gmail.com>2018-07-13 13:33:58 -0400
commitf78e7f6589eca50650ecd2010c41333b12f964b0 (patch)
treeaa0d1f7b44a1da9543229a256101bda5e888eebf
parent657dfc5bca2bd476d124f51f711e889f98f1e7d6 (diff)
[qt] send: Clear All also resets coin control options
Github-Pull: #12432 Rebased-From: f506c0a7f8ea6bae089177884e44e38cd2bfeb23
-rw-r--r--src/qt/sendcoinsdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 1227e340ce..bd02fde30e 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())
{