Grid Tricks: entering editor needs to set selection to edited cell
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15453
This commit is contained in:
parent
3d0dc2fc1b
commit
d150803dee
|
@ -162,6 +162,11 @@ bool GRID_TRICKS::showEditor( int aRow, int aCol )
|
|||
{
|
||||
m_grid->ClearSelection();
|
||||
|
||||
m_sel_row_start = aRow;
|
||||
m_sel_col_start = aCol;
|
||||
m_sel_row_count = 1;
|
||||
m_sel_col_count = 1;
|
||||
|
||||
if( m_grid->GetSelectionMode() == wxGrid::wxGridSelectRows )
|
||||
{
|
||||
wxArrayInt rows = m_grid->GetSelectedRows();
|
||||
|
|
Loading…
Reference in New Issue