From 6f305a6e20e7605e4d126e5149f68262ddf561f7 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 29 Mar 2015 16:39:52 +0000
Subject: [PATCH] fix

---
 Common/Options.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Common/Options.cpp b/Common/Options.cpp
index 0e910764ea..709315b6e7 100644
--- a/Common/Options.cpp
+++ b/Common/Options.cpp
@@ -4238,7 +4238,9 @@ double opt_geometry_hide_compounds(OPT_ARGS_NUM)
     if(old != (int)val){
       GModel::current()->setCompoundVisibility();
       CTX::instance()->mesh.changed = ENT_ALL;
+#if defined(HAVE_FLTK)
       if(FlGui::available()) FlGui::instance()->resetVisibility();
+#endif
     }
   }
 #if defined(HAVE_FLTK)
-- 
GitLab