mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-11 17:29:06 +08:00
Follow-up to af05e5fc2ca33b5a5ac054356a83987977f4fbde -> added missing #else
This commit is contained in:
parent
0889877e26
commit
7aa6c1854f
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user