Netclass dropdowns should be selects, not comboBoxes.

Fixes https://gitlab.com/kicad/code/kicad/issues/5386
This commit is contained in:
Jeff Young 2020-09-04 22:22:10 +01:00
parent f1f8f746f4
commit 7e3f35d3fb
1 changed files with 1 additions and 1 deletions

View File

@ -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 );