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:
authorbubnikv <bubnikv@gmail.com>2020-03-06 19:41:00 +0300
committerbubnikv <bubnikv@gmail.com>2020-03-06 19:41:00 +0300
commit2816b5a9fb49798d260a91835d6929c7a09013d0 (patch)
tree415a19f39daa84fc21d95f280332c002c67fb476 /src/slic3r/GUI/Tab.hpp
parentda9412705e2f446e1e65ce493c71e648d3d87823 (diff)
WIP Detaching of system profiles and user profiles derived from system profiles.
Diffstat (limited to 'src/slic3r/GUI/Tab.hpp')
-rw-r--r--src/slic3r/GUI/Tab.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/slic3r/GUI/Tab.hpp b/src/slic3r/GUI/Tab.hpp
index d37645d7e..e2b00dc40 100644
--- a/src/slic3r/GUI/Tab.hpp
+++ b/src/slic3r/GUI/Tab.hpp
@@ -201,7 +201,7 @@ protected:
bool m_disable_tree_sel_changed_event;
bool m_show_incompatible_presets;
- std::vector<Preset::Type> m_dependent_tabs = {};
+ std::vector<Preset::Type> m_dependent_tabs;
enum OptStatus { osSystemValue = 1, osInitValue = 2 };
std::map<std::string, int> m_options_list;
int m_opt_status_value = 0;
@@ -270,7 +270,7 @@ public:
void OnTreeSelChange(wxTreeEvent& event);
void OnKeyDown(wxKeyEvent& event);
- void save_preset(std::string name = "", std::string suffix = "");
+ void save_preset(std::string name = std::string(), bool detach = false);
void delete_preset();
void toggle_show_hide_incompatible();
void update_show_hide_incompatible_button();
@@ -318,7 +318,6 @@ protected:
void load_key_value(const std::string& opt_key, const boost::any& value, bool saved_value = false);
void on_presets_changed();
- void detach_preset(Preset& preset);
void build_preset_description_line(ConfigOptionsGroup* optgroup);
void update_preset_description_line();
void update_frequently_changed_parameters();