mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fixed OSX and Linux build
This commit is contained in:
@@ -2189,8 +2189,11 @@ void ObjectList::remove()
|
|||||||
select_item(parent);
|
select_item(parent);
|
||||||
parent = wxDataViewItem(0);
|
parent = wxDataViewItem(0);
|
||||||
}
|
}
|
||||||
else if (m_objects_model->GetChildren(parent, wxDataViewItemArray()) == 1)
|
else {
|
||||||
parent = m_objects_model->GetTopParent(item);
|
wxDataViewItemArray children;
|
||||||
|
if (m_objects_model->GetChildren(parent, children) == 1)
|
||||||
|
parent = m_objects_model->GetTopParent(item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
del_subobject_item(item);
|
del_subobject_item(item);
|
||||||
|
|||||||
Reference in New Issue
Block a user