diff options
author | YuSanka <yusanka@gmail.com> | 2018-07-04 09:54:30 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2018-07-04 10:03:43 +0300 |
commit | 54298c8e61c18bec738b61e2311f029be17470a8 (patch) | |
tree | 1f83c162627e70932a67e2bc7b55484e63e2db9c /xs/src/slic3r/GUI/Tab.cpp | |
parent | 678498bed637765b405cda974a75fb22201e9320 (diff) |
First right-panel reorganization:
* Replaced Object list from CollapsiblePane
* Sub-object are adding by context menu from list
* (sub)objects can be deleted by only one "Delete" button
* Added extruder selection to list
Diffstat (limited to 'xs/src/slic3r/GUI/Tab.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/Tab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/slic3r/GUI/Tab.cpp b/xs/src/slic3r/GUI/Tab.cpp index 712d1db03..89628d72b 100644 --- a/xs/src/slic3r/GUI/Tab.cpp +++ b/xs/src/slic3r/GUI/Tab.cpp @@ -1910,6 +1910,7 @@ void Tab::load_current_preset() const Preset* parent_preset = m_presets->get_selected_preset_parent(); static_cast<TabPrinter*>(this)->m_sys_extruders_count = parent_preset == nullptr ? 0 : static_cast<const ConfigOptionFloats*>(parent_preset->config.option("nozzle_diameter"))->values.size(); + set_extruder_column_hidden(static_cast<TabPrinter*>(this)->m_sys_extruders_count <= 1); } m_opt_status_value = (m_presets->get_selected_preset_parent() ? osSystemValue : 0) | osInitValue; init_options_list(); |