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:
parent
fd4b4533b1
commit
c5d85e0b7e
|
@ -666,9 +666,6 @@ void DIALOG_LABEL_PROPERTIES::OnUpdateUI( wxUpdateUIEvent& event )
|
||||||
m_grid->SetFocus();
|
m_grid->SetFocus();
|
||||||
m_grid->MakeCellVisible( m_delayedFocusRow, m_delayedFocusColumn );
|
m_grid->MakeCellVisible( m_delayedFocusRow, m_delayedFocusColumn );
|
||||||
m_grid->SetGridCursor( m_delayedFocusRow, m_delayedFocusColumn );
|
m_grid->SetGridCursor( m_delayedFocusRow, m_delayedFocusColumn );
|
||||||
|
|
||||||
m_grid->EnableCellEditControl( true );
|
|
||||||
m_grid->ShowCellEditControl();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_delayedFocusRow = -1;
|
m_delayedFocusRow = -1;
|
||||||
|
|
Loading…
Reference in New Issue