diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2018-02-14 14:23:43 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2018-02-14 14:23:43 +0100 |
commit | f506c0a7f8ea6bae089177884e44e38cd2bfeb23 (patch) | |
tree | 691fd590ca9690fd78e8c3c7daf0a1dddf48d58f /src | |
parent | fdc2188da27fdf6fa62dd477b00b8f0ede994a0e (diff) |
[qt] send: Clear All also resets coin control options
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 6 |
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()) { |