refactor: Drop CCoinControl::SetNull
This commit is contained in:
1 parent
585cbe2257
commit
c5a470eee1
3 files changed
+13
-31
No files matched your search
@@ -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