Fix out of bounds selection in ObjectList, fix #1890
This commit is contained in:
parent
58c136a9a3
commit
456d09be76
@ -2022,6 +2022,8 @@ void ObjectList::update_selections_on_canvas()
|
||||
|
||||
void ObjectList::select_item(const wxDataViewItem& item)
|
||||
{
|
||||
if (! item.IsOk()) { return; }
|
||||
|
||||
m_prevent_list_events = true;
|
||||
|
||||
UnselectAll();
|
||||
|
Loading…
Reference in New Issue
Block a user