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-09-02 15:02:26 +0300
committerYuSanka <yusanka@gmail.com>2019-09-02 15:02:26 +0300
commit94712544aa65110b7305c78fe517c49fdfc910ce (patch)
tree88847117ee3b2e191a325341205be4b72b6ab96e /src/slic3r/GUI/Field.hpp
parent107bb1a308bb106332705c5701933aceaf75b947 (diff)
Fix for #2845
+ Fixed get_config_value for coFloatOrPercent (percent mode allow non-just-int values)
Diffstat (limited to 'src/slic3r/GUI/Field.hpp')
-rw-r--r--src/slic3r/GUI/Field.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Field.hpp b/src/slic3r/GUI/Field.hpp
index 11775a67c..b3cbf573f 100644
--- a/src/slic3r/GUI/Field.hpp
+++ b/src/slic3r/GUI/Field.hpp
@@ -152,7 +152,7 @@ public:
virtual wxWindow* getWindow() { return nullptr; }
bool is_matched(const std::string& string, const std::string& pattern);
- void get_value_by_opt_type(wxString& str);
+ void get_value_by_opt_type(wxString& str, const bool check_value = true);
/// Factory method for generating new derived classes.
template<class T>