Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-03-20 18:22:01 +0300
committerYuSanka <yusanka@gmail.com>2019-03-20 18:22:01 +0300
commit452eb62f1102e0a59d0b3979fc1101a6421029a5 (patch)
treee05dc46202fd6bd29bedf577cb0ea673a5007485 /src/slic3r/GUI/Tab.hpp
parente2349bdd2eb99094c561e503bca8a7d3ed7ce70f (diff)
Some code refactoring
Diffstat (limited to 'src/slic3r/GUI/Tab.hpp')
-rw-r--r--src/slic3r/GUI/Tab.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Tab.hpp b/src/slic3r/GUI/Tab.hpp
index 81a79c58c..15ae0443c 100644
--- a/src/slic3r/GUI/Tab.hpp
+++ b/src/slic3r/GUI/Tab.hpp
@@ -209,6 +209,7 @@ protected:
int m_em_unit;
// To avoid actions with no-completed Tab
bool m_complited { false };
+ ConfigOptionMode m_mode = comSimple;
public:
PresetBundle* m_preset_bundle;
@@ -236,7 +237,7 @@ public:
void create_preset_tab();
void load_current_preset();
- void rebuild_page_tree(bool tree_sel_change_event = false);
+ void rebuild_page_tree();
void update_page_tree_visibility();
void select_preset(std::string preset_name = "");
bool may_discard_current_dirty_preset(PresetCollection* presets = nullptr, const std::string& new_printer_name = "");
@@ -270,6 +271,7 @@ public:
void update_tab_ui();
void load_config(const DynamicPrintConfig& config);
virtual void reload_config();
+ void update_mode();
void update_visibility();
Field* get_field(const t_config_option_key& opt_key, int opt_index = -1) const;
bool set_value(const t_config_option_key& opt_key, const boost::any& value);