Fixed an assert when selected the default semiconductor model
Fixes: lp:1741050 * https://bugs.launchpad.net/kicad/+bug/1741050
This commit is contained in:
parent
ea9b568743
commit
31902f967a
|
@ -134,6 +134,7 @@ bool DIALOG_SPICE_MODEL::TransferDataFromWindow()
|
|||
|
||||
switch( m_modelType->GetSelection() )
|
||||
{
|
||||
case -1: break;
|
||||
case 0: m_fieldsTmp[SF_PRIMITIVE] = (char) SP_SUBCKT; break;
|
||||
case 1: m_fieldsTmp[SF_PRIMITIVE] = (char) SP_BJT; break;
|
||||
case 2: m_fieldsTmp[SF_PRIMITIVE] = (char) SP_MOSFET; break;
|
||||
|
|
Loading…
Reference in New Issue