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 <esc> key events after the dialog
has been resized.

Fixes https://gitlab.com/kicad/code/kicad/issues/11015
This commit is contained in:
Jeff Young 2022-03-03 02:00:26 +00:00
parent fd4b4533b1
commit c5d85e0b7e
1 changed files with 0 additions and 3 deletions

View File

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