mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-24 11:21:08 -07:00
Fix crash when closing application (#2904)
* Update GUI_ObjectList.cpp
* Update GUI_ObjectList.cpp
(cherry picked from commit d71eaf958e)
This commit is contained in:
parent
b5b5e03e4d
commit
5f89963fc5
1 changed files with 2 additions and 0 deletions
|
|
@ -304,6 +304,8 @@ ObjectList::ObjectList(wxWindow* parent) :
|
||||||
|
|
||||||
ObjectList::~ObjectList()
|
ObjectList::~ObjectList()
|
||||||
{
|
{
|
||||||
|
if (m_objects_model)
|
||||||
|
m_objects_model->DecRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObjectList::set_min_height()
|
void ObjectList::set_min_height()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue