Skip to content

Commit f506c0a

Browse files
committed
[qt] send: Clear All also resets coin control options
1 parent fdc2188 commit f506c0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/qt/sendcoinsdialog.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@ void SendCoinsDialog::on_sendButton_clicked()
375375

376376
void SendCoinsDialog::clear()
377377
{
378+
// Clear coin control settings
379+
CoinControlDialog::coinControl()->UnSelectAll();
380+
ui->checkBoxCoinControlChange->setChecked(false);
381+
ui->lineEditCoinControlChange->clear();
382+
coinControlUpdateLabels();
383+
378384
// Remove entries until only one left
379385
while(ui->entries->count())
380386
{

0 commit comments

Comments
 (0)