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:
authorVojtech Kral <vojtech@kral.hk>2019-01-29 17:57:22 +0300
committerVojtech Kral <vojtech@kral.hk>2019-01-29 19:11:07 +0300
commitf7529dbef5cf60ab9f3a7e7e2737f28ad4247a76 (patch)
tree7dfa3ade65ef178b9645e3c98535b99366aee455 /src/slic3r/GUI/Field.hpp
parenta99c82340100847e56fa712f4a60c927ce4a3500 (diff)
Tab: Update print host address and cafile properly, fix #1687
Diffstat (limited to 'src/slic3r/GUI/Field.hpp')
-rw-r--r--src/slic3r/GUI/Field.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Field.hpp b/src/slic3r/GUI/Field.hpp
index 3273f84c9..8391a111b 100644
--- a/src/slic3r/GUI/Field.hpp
+++ b/src/slic3r/GUI/Field.hpp
@@ -115,7 +115,7 @@ public:
/// subclasses should overload with a specific version
/// Postcondition: Method does not fire the on_change event.
virtual void set_value(const boost::any& value, bool change_event) = 0;
-
+
/// Gets a boost::any representing this control.
/// subclasses should overload with a specific version
virtual boost::any& get_value() = 0;
@@ -128,6 +128,8 @@ public:
virtual wxString get_tooltip_text(const wxString& default_string);
+ void field_changed() { on_change_field(); }
+
// set icon to "UndoToSystemValue" button according to an inheritance of preset
// void set_nonsys_btn_icon(const wxBitmap& icon);