mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02: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();
|
rebuildJobList();
|
||||||
|
|
||||||
m_jobsGrid->SelectRow( item - 1 );
|
m_jobsGrid->SelectRow( item - 1 );
|
||||||
|
m_jobsGrid->SetGridCursor( item - 1, m_jobsGrid->GetGridCursorCol() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1032,6 +1033,7 @@ void PANEL_JOBS::OnJobButtonDown( wxCommandEvent& aEvent )
|
|||||||
rebuildJobList();
|
rebuildJobList();
|
||||||
|
|
||||||
m_jobsGrid->SelectRow( item + 1 );
|
m_jobsGrid->SelectRow( item + 1 );
|
||||||
|
m_jobsGrid->SetGridCursor( item + 1, m_jobsGrid->GetGridCursorCol() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user