Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-10-09 14:15:03 +0300
committerYuSanka <yusanka@gmail.com>2019-10-09 14:15:03 +0300
commit1ade11fd577986d11b493362f0538e285cc188a0 (patch)
tree23bb424be375234cc1ac73bb9f0f181f6e0b0b7b /src
parent2afaefad24858e809edcbe2f8c148e8f6b0ac977 (diff)
Fixed OSX build
Diffstat (limited to 'src')
-rw-r--r--src/slic3r/GUI/GUI_ObjectManipulation.hpp8
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();