mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-14 19:39:35 +00:00
Set grid cursor as well as selection row.
I haven't a clue why this is required. Fixes https://gitlab.com/kicad/code/kicad/-/issues/19509
This commit is contained in:
parent
bd47692bf2
commit
ed12e1ee79
@ -1010,6 +1010,7 @@ void PANEL_JOBS::OnJobButtonUp( wxCommandEvent& aEvent )
|
||||
rebuildJobList();
|
||||
|
||||
m_jobsGrid->SelectRow( item - 1 );
|
||||
m_jobsGrid->SetGridCursor( item - 1, m_jobsGrid->GetGridCursorCol() );
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1032,6 +1033,7 @@ void PANEL_JOBS::OnJobButtonDown( wxCommandEvent& aEvent )
|
||||
rebuildJobList();
|
||||
|
||||
m_jobsGrid->SelectRow( item + 1 );
|
||||
m_jobsGrid->SetGridCursor( item + 1, m_jobsGrid->GetGridCursorCol() );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user