mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
refactor: Drop CCoinControl::SetNull
This commit is contained in:
@@ -839,8 +839,9 @@ void SendCoinsDialog::coinControlFeatureChanged(bool checked)
|
||||
{
|
||||
ui->frameCoinControl->setVisible(checked);
|
||||
|
||||
if (!checked && model) // coin control features disabled
|
||||
m_coin_control->SetNull();
|
||||
if (!checked && model) { // coin control features disabled
|
||||
m_coin_control = std::make_unique<CCoinControl>();
|
||||
}
|
||||
|
||||
coinControlUpdateLabels();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user