]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GToc.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GToc.C
index d39d74a1e04fc2b39b8672434c58768c462a8f11..3b89d83244c0082ab1f3256e5954096e8b471ac6 100644 (file)
 
 #include <config.h>
 
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
 #include "GToc.h"
 #include "ControlToc.h"
 
@@ -162,7 +167,8 @@ void GToc::onTocViewSelected()
 
 void GToc::onTypeComboChanged()
 {
-       updateContents();
+       if(!changing_views_)
+               updateContents();
 }