]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_factory.C
Fix event loop to no longer eat CPU
[lyx.git] / src / mathed / math_factory.C
index a009c1a550f1ce9d755f2766acd7dc7ff8b44e0b..e0529ad5e4472b630170b38d1d4ca2da9540e671 100644 (file)
@@ -225,9 +225,9 @@ void initMath()
 {
        static bool initialized = false;
        if (!initialized) {
+               initialized = true;
                initParser();
                initSymbols();
-               initialized = true;
        }
 }