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:
Diffstat (limited to 'src/slic3r/GUI/OptionsGroup.hpp')
-rw-r--r--src/slic3r/GUI/OptionsGroup.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/OptionsGroup.hpp b/src/slic3r/GUI/OptionsGroup.hpp
index 2e995f48a..bc068c1ed 100644
--- a/src/slic3r/GUI/OptionsGroup.hpp
+++ b/src/slic3r/GUI/OptionsGroup.hpp
@@ -268,11 +268,11 @@ public:
bool has_option(const std::string& opt_key, int opt_index = -1);
// more like "create option from def"
Option get_option(const std::string& opt_key, int opt_index = -1);
- void register_to_search(const std::string& opt_key, const ConfigOptionDef& option_def, int opt_index = -1);
+ void register_to_search(const std::string& opt_key, const ConfigOptionDef& option_def, int opt_index, bool reset);
Option get_option_and_register(const std::string& opt_key, int opt_index = -1) {
Option opt = get_option(opt_key, opt_index);
if(m_use_custom_ctrl) // fill group and category values just for options from Settings Tab
- register_to_search(opt_key, opt.opt, opt_index);
+ register_to_search(opt_key, opt.opt, opt_index, true);
return opt;
}
Line create_single_option_line(const std::string& title, const std::string& path = std::string(), int idx = -1) /*const*/{