From a4e37d428e61ac78c9f16a618c6822e3922c77ba Mon Sep 17 00:00:00 2001 From: SoftFever Date: Sun, 16 Feb 2025 14:47:06 +0800 Subject: [PATCH] Hide the dependencies tab for process. The UI is not ready yet. --- src/slic3r/GUI/Tab.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 3589e29f79..f66937d883 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2399,18 +2399,19 @@ page = add_options_page(L("Others"), "custom-gcode_other"); // ORCA: icon only v option.opt.height = 25;//250; optgroup->append_single_option_line(option); - page = add_options_page(L("Dependencies"), "custom-gcode_advanced"); - optgroup = page->new_optgroup(L("Profile dependencies")); + // Orca: hide the dependencies tab for process for now. The UI is not ready yet. + // page = add_options_page(L("Dependencies"), "custom-gcode_advanced"); + // optgroup = page->new_optgroup(L("Profile dependencies")); - create_line_with_widget(optgroup.get(), "compatible_printers", "", [this](wxWindow* parent) { - return compatible_widget_create(parent, m_compatible_printers); - }); + // create_line_with_widget(optgroup.get(), "compatible_printers", "", [this](wxWindow* parent) { + // return compatible_widget_create(parent, m_compatible_printers); + // }); - option = optgroup->get_option("compatible_printers_condition"); - option.opt.full_width = true; - optgroup->append_single_option_line(option); + // option = optgroup->get_option("compatible_printers_condition"); + // option.opt.full_width = true; + // optgroup->append_single_option_line(option); - build_preset_description_line(optgroup.get()); + // build_preset_description_line(optgroup.get()); } // Reload current config (aka presets->edited_preset->config) into the UI fields.