Fix crash when closing application (#2904)

* Update GUI_ObjectList.cpp

* Update GUI_ObjectList.cpp
This commit is contained in:
Ioannis Giannakas 2023-11-27 13:39:16 +00:00 committed by GitHub
parent ce9a8d7b20
commit d71eaf958e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,7 +310,8 @@ ObjectList::ObjectList(wxWindow* parent) :
ObjectList::~ObjectList()
{
delete m_objects_model;
if (m_objects_model)
m_objects_model->DecRef();
}
void ObjectList::set_min_height()