[qt] send: Clear All also resets coin control options

This commit is contained in:
Sjors Provoost 2018-02-14 14:23:43 +01:00
parent fdc2188da2
commit f506c0a7f8
No known key found for this signature in database
GPG Key ID: 57FF9BDBCC301009

View File

@ -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())
{