mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Don't push names we don't have
Fixes https://gitlab.com/kicad/code/kicad/issues/21628
This commit is contained in:
parent
ad80113f47
commit
f18c4a05fd
@ -1107,8 +1107,8 @@ DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE( SYMBOL_EDIT_FRAME* parent,
|
||||
|
||||
bodyStyleNames.push_back( wxGetTranslation( DEMORGAN_ALL ) );
|
||||
|
||||
for( int i = 0; i < aSymbol->GetBodyStyleCount(); i++ )
|
||||
bodyStyleNames.push_back( aSymbol->GetBodyStyleNames()[i] );
|
||||
for( const wxString& body_style_name : aSymbol->GetBodyStyleNames() )
|
||||
bodyStyleNames.push_back( body_style_name );
|
||||
|
||||
attr->SetEditor( new GRID_CELL_COMBOBOX( bodyStyleNames ) );
|
||||
m_grid->SetColAttr( COL_BODY_STYLE, attr );
|
||||
|
Loading…
x
Reference in New Issue
Block a user