Skip to content

Commit 9fb3898

Browse files
committed
Merge #12432: [qt] send: Clear All also resets coin control options
f506c0a [qt] send: Clear All also resets coin control options (Sjors Provoost) Pull request description: This change makes it so that a custom change address and manual input selection are removed if the user clicks Clear All in the send screen. Tree-SHA512: 78746043a74c9c26ef476eb0df7ce95411683749d9f6b2747222eaac751e241ea7d4d7ce9e4e69ed0b19fa76754d8584e5bef5bba1ad6598f8e39c784b4264d2
2 parents e1d6e2a + f506c0a commit 9fb3898

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
@@ -376,6 +376,12 @@ void SendCoinsDialog::on_sendButton_clicked()
376376

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

0 commit comments

Comments
 (0)