aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2018-02-14 14:23:43 +0100
committerSjors Provoost <sjors@sprovoost.nl>2018-02-14 14:23:43 +0100
commitf506c0a7f8ea6bae089177884e44e38cd2bfeb23 (patch)
tree691fd590ca9690fd78e8c3c7daf0a1dddf48d58f /src/qt/sendcoinsdialog.cpp
parentfdc2188da27fdf6fa62dd477b00b8f0ede994a0e (diff)
[qt] send: Clear All also resets coin control options
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-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 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())
{