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