diff options
author | YuSanka <yusanka@gmail.com> | 2019-10-09 14:15:03 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-10-09 14:15:03 +0300 |
commit | 1ade11fd577986d11b493362f0538e285cc188a0 (patch) | |
tree | 23bb424be375234cc1ac73bb9f0f181f6e0b0b7b /src | |
parent | 2afaefad24858e809edcbe2f8c148e8f6b0ac977 (diff) |
Fixed OSX build
Diffstat (limited to 'src')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectManipulation.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.hpp b/src/slic3r/GUI/GUI_ObjectManipulation.hpp index 7d53034b2..e6f99ab2a 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.hpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.hpp @@ -118,7 +118,7 @@ class ObjectManipulation : public OG_Settings wxStaticBitmap* m_fix_throught_netfab_bitmap; #ifndef __APPLE__ - // Currently focused option name (empty if none) + // Currently focused editor (nullptr if none) ManipulationEditor* m_focused_editor {nullptr}; #endif // __APPLE__ @@ -161,7 +161,11 @@ public: void update_warning_icon_state(const wxString& tooltip); void msw_rescale(); void on_change(const std::string& opt_key, int axis, double new_value); - void set_focused_editor(ManipulationEditor* focused_editor) { m_focused_editor = focused_editor; } + void set_focused_editor(ManipulationEditor* focused_editor) { +#ifndef __APPLE__ + m_focused_editor = focused_editor; +#endif // __APPLE__ + } private: void reset_settings_value(); |