diff --git a/eeschema/dialogs/dialog_sim_model.cpp b/eeschema/dialogs/dialog_sim_model.cpp index 7109ec488e..7bb879050e 100644 --- a/eeschema/dialogs/dialog_sim_model.cpp +++ b/eeschema/dialogs/dialog_sim_model.cpp @@ -349,10 +349,7 @@ void DIALOG_SIM_MODEL::updateInstanceWidgets() { if( SIM_MODEL::TypeInfo( type ).deviceType == deviceType ) { - wxString description = SIM_MODEL::TypeInfo( type ).description; - - if( !description.IsEmpty() ) - m_typeChoice->Append( description ); + m_typeChoice->Append( SIM_MODEL::TypeInfo( type ).description ); if( type == curModel().GetType() ) m_typeChoice->SetSelection( m_typeChoice->GetCount() - 1 );