Sim Model Editor: Fix exclude symbol checkbox

Fixes https://gitlab.com/kicad/code/kicad/issues/12344
This commit is contained in:
Mikolaj Wielgus 2022-10-05 11:24:04 +02:00
parent 6ddc5c1a6e
commit 8e34dae347
1 changed files with 1 additions and 2 deletions

View File

@ -167,8 +167,6 @@ bool DIALOG_SIM_MODEL<T>::TransferDataToWindow()
}
}
}
m_excludeSymbolCheckbox->SetValue( !curModel().IsEnabled() );
}
else
{
@ -190,6 +188,7 @@ bool DIALOG_SIM_MODEL<T>::TransferDataToWindow()
}
m_overrideCheckbox->SetValue( curModel().HasNonInstanceOverrides() );
m_excludeSymbolCheckbox->SetValue( !curModel().IsEnabled() );
updateWidgets();