Netclass dropdowns should be selects, not comboBoxes.
Fixes https://gitlab.com/kicad/code/kicad/issues/5386
This commit is contained in:
parent
f1f8f746f4
commit
7e3f35d3fb
|
@ -312,7 +312,7 @@ void PANEL_SETUP_NETCLASSES::rebuildNetclassDropdowns()
|
||||||
}
|
}
|
||||||
|
|
||||||
wxGridCellAttr* attr = new wxGridCellAttr;
|
wxGridCellAttr* attr = new wxGridCellAttr;
|
||||||
attr->SetEditor( new GRID_CELL_COMBOBOX( netclassNames ) );
|
attr->SetEditor( new wxGridCellChoiceEditor( netclassNames ) );
|
||||||
m_membershipGrid->SetColAttr( 1, attr );
|
m_membershipGrid->SetColAttr( 1, attr );
|
||||||
|
|
||||||
m_assignNetClass->Set( netclassNames );
|
m_assignNetClass->Set( netclassNames );
|
||||||
|
|
Loading…
Reference in New Issue