]> 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 c865d52e0aad230100bff7ad86729594a0512693..e0529ad5e4472b630170b38d1d4ca2da9540e671 100644 (file)
@@ -166,8 +166,9 @@ void initSymbols()
                        // store requirements as long as we can
                        if (tmp.inset == "msa" || tmp.inset == "msb")
                                tmp.requires = "amssymb";
-                       else if (tmp.inset == "wasy")
-                               tmp.requires = "wasysym";
+                       // See http://bugzilla.lyx.org/show_bug.cgi?id=1942
+                       // else if (tmp.inset == "wasy")
+                       //      tmp.requires = "wasysym";
 
                        // symbol font is not available sometimes
                        string symbol_font = "lyxsymbol";
@@ -224,9 +225,9 @@ void initMath()
 {
        static bool initialized = false;
        if (!initialized) {
+               initialized = true;
                initParser();
                initSymbols();
-               initialized = true;
        }
 }