Skip to content

Commit

Permalink
[qt] send: Clear All also resets coin control options
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Feb 14, 2018
1 parent fdc2188 commit f506c0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/qt/sendcoinsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit f506c0a

Please sign in to comment.