Added deallocation of ObjectList::m_objects_model into the ObjectList destructor.

This commit is contained in:
Lukáš Hejl 2022-01-28 09:42:25 +01:00
parent 4387436525
commit 0726b46da2
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -191,7 +191,7 @@ private:
public:
ObjectList(wxWindow* parent);
~ObjectList();
~ObjectList() override;
void set_min_height();
void update_min_height();