]> git.lyx.org Git - lyx.git/blobdiff - src/Text3.cpp
* src/LyXRC.{cpp,h}:
[lyx.git] / src / Text3.cpp
index 5b250647bde53d64309425f6aded5bdae868b469..79f48c1bb58f5a44cf5b11409717779b92a214e9 100644 (file)
@@ -1298,7 +1298,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                        int const nargs = s1.empty() ? 0 : convert<int>(s1);
                        string const s2 = token(s, ' ', 2);
                        string const type = s2.empty() ? "newcommand" : s2;
-                       cur.insert(new MathMacroTemplate(from_utf8(token(s, ' ', 0)), nargs, from_utf8(type)));
+                       cur.insert(new MathMacroTemplate(from_utf8(token(s, ' ', 0)), nargs, false, from_utf8(type)));
                        //cur.nextInset()->edit(cur, true);
                }
                break;