From 94552ed838518f0a6d36dfe503d7eff97aa67d56 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Fri, 1 Oct 2021 23:44:12 -0400 Subject: [PATCH] Fix grid cell highlight not functioning on Windows in the symbol pin table Fixes https://gitlab.com/kicad/code/kicad/issues/9290 --- eeschema/dialogs/dialog_lib_edit_pin_table.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp index b2c39f5157..737da76610 100644 --- a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp +++ b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp @@ -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 );