Fix grid cell highlight not functioning on Windows in the symbol pin table

Fixes https://gitlab.com/kicad/code/kicad/issues/9290
This commit is contained in:
Marek Roszko 2021-10-01 23:44:12 -04:00
parent ef74421922
commit 94552ed838
1 changed files with 3 additions and 0 deletions

View File

@ -505,6 +505,9 @@ DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE( SYMBOL_EDIT_FRAME* parent,
m_modified = false;
m_width = 0;
// Rigs the wxGrid to highlight the active column properly on Windows on keyboard nav
m_grid->SetSelectionMode( wxGrid::wxGridSelectRows );
// Connect Events
m_grid->Connect( wxEVT_GRID_COL_SORT,
wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE::OnColSort ), nullptr, this );