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

Github-Pull: #12432
Rebased-From: f506c0a7f8ea6bae089177884e44e38cd2bfeb23
This commit is contained in:
Sjors Provoost 2018-02-14 14:23:43 +01:00 committed by MarcoFalke
parent 657dfc5bca
commit f78e7f6589

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