From a12e6a7bde8c614257beb796241312b5eba657c7 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 16 Sep 2019 11:55:05 +0200 Subject: [PATCH] More clear identification if is there object selected --- src/slic3r/GUI/GUI_ObjectList.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index a79426ed2..51098647f 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -1401,7 +1401,8 @@ wxMenuItem* ObjectList::append_menu_item_settings(wxMenu* menu_) menu->SetFirstSeparator(); // Add frequently settings - create_freq_settings_popupmenu(menu, sel_vol==nullptr); + const bool is_object_settings = m_objects_model->GetItemType(GetSelection()) == itObject; + create_freq_settings_popupmenu(menu, is_object_settings); if (mode == comAdvanced) return nullptr;