dialog_sim_model: ensure the Model panel is always correctly built.
Fixes #14904 https://gitlab.com/kicad/code/kicad/-/issues/14904
This commit is contained in:
parent
451b9e20a1
commit
a29f261d31
|
@ -1031,6 +1031,7 @@ void DIALOG_SIM_MODEL<T_symbol, T_field>::onRadioButton( wxCommandEvent& aEvent
|
|||
m_deviceTypeChoice->Enable( !fromLibrary );
|
||||
m_staticTextSpiceType->Enable( !fromLibrary );
|
||||
|
||||
m_prevModel = nullptr; // Ensure the Model panel will be rebuild after updating other params.
|
||||
updateWidgets();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue