Don't accept any values not in the dropdown for alternate pins.

Fixes https://gitlab.com/kicad/code/kicad/issues/5399
This commit is contained in:
Jeff Young 2020-08-31 20:03:30 +01:00
parent 2697fc3864
commit cd55185904
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public:
choices.push_back( alt.first ); choices.push_back( alt.first );
wxGridCellAttr* attr = new wxGridCellAttr(); wxGridCellAttr* attr = new wxGridCellAttr();
attr->SetEditor( new GRID_CELL_COMBOBOX( choices ) ); attr->SetEditor( new wxGridCellChoiceEditor( choices ) );
m_nameAttrs.push_back( attr ); m_nameAttrs.push_back( attr );
} }