Fixed destructors of DiffViewCtrl and ObjectList after 8342b7f95b and 0726b46da2.

This commit is contained in:
Lukáš Hejl 2022-01-31 14:26:25 +01:00
parent 7bd8b3b892
commit c2258dead7
2 changed files with 8 additions and 2 deletions
src/slic3r/GUI

View file

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