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