Path: blob/main/cad/PrusaSlicer/files/patch-src_slic3r_GUI_GUI__ObjectLayers.cpp
18157 views
--- src/slic3r/GUI/GUI_ObjectLayers.cpp.orig 2024-12-20 11:54:34 UTC1+++ src/slic3r/GUI/GUI_ObjectLayers.cpp2@@ -348,7 +348,7 @@ LayerRangeEditor::LayerRangeEditor( ObjectLayers* pare3m_enter_pressed = true;4// Workaround! Under Linux we have to use CallAfter() to avoid crash after pressing ENTER key5// see #7531, #8055, #84086-#ifdef __linux__7+#if defined(__linux__) || defined(__FreeBSD__)8wxTheApp->CallAfter([this, edit_fn]() {9#endif10// If LayersList wasn't updated/recreated, we can call wxEVT_KILL_FOCUS.Skip()11@@ -363,7 +363,7 @@ LayerRangeEditor::LayerRangeEditor( ObjectLayers* pare12SetValue(m_valid_value);13m_call_kill_focus = true;14}15-#ifdef __linux__16+#if defined(__linux__) || defined(__FreeBSD__)17});18#endif19}, this->GetId());202122