Fix a wxWidgets alert
This commit is contained in:
parent
e299343807
commit
3827c16fde
|
@ -500,7 +500,7 @@ void GRID_TRICKS::onUpdateUI( wxUpdateUIEvent& event )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !cursorInSelectedRow )
|
if( !cursorInSelectedRow && cursorRow >= 0 )
|
||||||
m_grid->SelectRow( cursorRow );
|
m_grid->SelectRow( cursorRow );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue