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:
parent
2697fc3864
commit
cd55185904
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue