ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_Search.cpp
Michael Reifenberger ae9787cdfb cad/PrusaSlicer: update to 2.9.0
Adapted patch provided from Jesper Schmitz Mouridsen

PR:		284821
Reported by:	Torfinn Ingolfsen
Approved by:	teodorsigaev@
2025-03-09 15:37:10 +01:00

11 lines
435 B
C++

--- src/slic3r/GUI/Search.cpp.orig 2024-12-20 11:54:34 UTC
+++ src/slic3r/GUI/Search.cpp
@@ -455,7 +455,7 @@ void OptionsSearcher::check_and_hide_dialog()
void OptionsSearcher::check_and_hide_dialog()
{
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
// Temporary linux specific workaround:
// has_focus(search_dialog) always returns false
// That's why search dialog will be hidden whole the time