mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-14 16:58:54 +08:00
Fixed OSX and Linux build
This commit is contained in:
parent
5f4b7a5292
commit
e09207e27e
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user