From d7eca052068dd4e46650e7a1a355d3f9057c4b4c Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Fri, 20 Aug 2021 15:48:27 +0200 Subject: [PATCH] Removed 'Set auto color changes' menu item from GCodeViewer --- src/slic3r/GUI/DoubleSlider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DoubleSlider.cpp b/src/slic3r/GUI/DoubleSlider.cpp index 36a4f6e5c..7d7ed08a2 100644 --- a/src/slic3r/GUI/DoubleSlider.cpp +++ b/src/slic3r/GUI/DoubleSlider.cpp @@ -2028,7 +2028,7 @@ void Control::show_cog_icon_context_menu() append_menu_item(&menu, wxID_ANY, _L("Set extruder sequence for the entire print"), "", [this](wxCommandEvent&) { edit_extruder_sequence(); }, "", &menu); - if (m_mode != MultiExtruder && m_draw_mode == dmRegular) + if (GUI::wxGetApp().is_editor() && m_mode != MultiExtruder && m_draw_mode == dmRegular) append_menu_item(&menu, wxID_ANY, _L("Set auto color changes"), "", [this](wxCommandEvent&) { auto_color_change(); }, "", &menu);