From 7aa6c1854f11a9db120d5894f4fdb91c47cd97c7 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Tue, 9 Apr 2019 15:43:16 +0200 Subject: [PATCH] Follow-up to af05e5fc2ca33b5a5ac054356a83987977f4fbde -> added missing #else --- src/slic3r/GUI/GUI_ObjectList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_ObjectList.cpp b/src/slic3r/GUI/GUI_ObjectList.cpp index b5615f6f1..dc3909351 100644 --- a/src/slic3r/GUI/GUI_ObjectList.cpp +++ b/src/slic3r/GUI/GUI_ObjectList.cpp @@ -88,7 +88,7 @@ ObjectList::ObjectList(wxWindow* parent) : // before the kill focus event handler on the object manipulator when changing selection in the list, invalidating the object // manipulator cache with the following call to selection_changed() wxGetApp().obj_manipul()->emulate_kill_focus(); - +#else // To avoid selection update from SetSelection() and UnselectAll() under osx if (m_prevent_list_events) return;