From c5d85e0b7e2905ad8111ffc38f1fff7ed4b9612f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 3 Mar 2022 02:00:26 +0000 Subject: [PATCH] Don't try to open cell editor on first focus. It hasn't worked since we rejiggered the default grid selection mode anyway, and for some reason it eats key events after the dialog has been resized. Fixes https://gitlab.com/kicad/code/kicad/issues/11015 --- eeschema/dialogs/dialog_label_properties.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/eeschema/dialogs/dialog_label_properties.cpp b/eeschema/dialogs/dialog_label_properties.cpp index eabd2a31ff..70bca888db 100644 --- a/eeschema/dialogs/dialog_label_properties.cpp +++ b/eeschema/dialogs/dialog_label_properties.cpp @@ -666,9 +666,6 @@ void DIALOG_LABEL_PROPERTIES::OnUpdateUI( wxUpdateUIEvent& event ) m_grid->SetFocus(); m_grid->MakeCellVisible( m_delayedFocusRow, m_delayedFocusColumn ); m_grid->SetGridCursor( m_delayedFocusRow, m_delayedFocusColumn ); - - m_grid->EnableCellEditControl( true ); - m_grid->ShowCellEditControl(); } m_delayedFocusRow = -1;