Implemented ObjectLayers class

+ some code refactoring
This commit is contained in:
YuSanka 2019-05-28 16:38:04 +02:00
parent 9d19e3d2a7
commit 765d4264ae
9 changed files with 243 additions and 9 deletions

View file

@ -68,8 +68,8 @@ void ObjectSettings::update_settings_list()
m_settings_list_sizer->Clear(true);
auto objects_ctrl = wxGetApp().obj_list();
auto objects_model = wxGetApp().obj_list()->m_objects_model;
auto config = wxGetApp().obj_list()->m_config;
auto objects_model = wxGetApp().obj_list()->GetModel();
auto config = wxGetApp().obj_list()->config();
const auto item = objects_ctrl->GetSelection();
if (item && !objects_ctrl->multiple_selection() &&