From bbed47acd0dac80bb7f9f22de29b6e4e1c5fcb48 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 7 Jan 2019 10:32:33 +0100 Subject: [PATCH] Fixed #1579 --- src/slic3r/GUI/GUI_ObjectList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index dffaf7afc..0b6c38bd8 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -635,7 +635,7 @@ void ObjectList::get_settings_choice(const wxString& category_name) // Add settings item for object const auto item = GetSelection(); if (item) { - const auto settings_item = m_objects_model->GetSettingsItem(item); + const auto settings_item = m_objects_model->IsSettingsItem(item) ? item : m_objects_model->GetSettingsItem(item); select_item(settings_item ? settings_item : m_objects_model->AddSettingsChild(item)); }