diff options
author | YuSanka <yusanka@gmail.com> | 2019-09-02 15:02:26 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-09-02 15:02:26 +0300 |
commit | 94712544aa65110b7305c78fe517c49fdfc910ce (patch) | |
tree | 88847117ee3b2e191a325341205be4b72b6ab96e /src/slic3r/GUI/Field.hpp | |
parent | 107bb1a308bb106332705c5701933aceaf75b947 (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.hpp | 2 |
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> |