Try to fix AddSettingsChild on OSX

This commit is contained in:
YuSanka 2018-09-10 13:59:44 +02:00
parent e914a719f8
commit 9c433f8e08
2 changed files with 3 additions and 0 deletions

View File

@ -1553,6 +1553,7 @@ void part_selection_changed()
wxString object_name = wxEmptyString;
if (item)
{
printf("item exists\n");
const bool is_settings_item = m_objects_model->IsSettingsItem(item);
bool is_part = false;
wxString og_name = wxEmptyString;

View File

@ -240,6 +240,8 @@ public:
}
void Insert(PrusaObjectDataViewModelNode* child, unsigned int n)
{
if (!m_container)
m_container = true;
m_children.Insert(child, n);
}
void Append(PrusaObjectDataViewModelNode* child)