mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Follow-up to af05e5fc2c -> added missing #else
This commit is contained in:
@@ -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
|
// 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()
|
// manipulator cache with the following call to selection_changed()
|
||||||
wxGetApp().obj_manipul()->emulate_kill_focus();
|
wxGetApp().obj_manipul()->emulate_kill_focus();
|
||||||
|
#else
|
||||||
// To avoid selection update from SetSelection() and UnselectAll() under osx
|
// To avoid selection update from SetSelection() and UnselectAll() under osx
|
||||||
if (m_prevent_list_events)
|
if (m_prevent_list_events)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user