Merge #12432: [qt] send: Clear All also resets coin control options
f506c0a7f
[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
This commit is contained in:
commit
9fb3898c3f
1 changed files with 6 additions and 0 deletions
|
@ -376,6 +376,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())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue