]> git.lyx.org Git - lyx.git/blobdiff - src/factory.C
Bug fix in branches (was earlier fixed wrongly)
[lyx.git] / src / factory.C
index 6870bb9af4762190b41ed4d2ef799e5bcecc2761..4eabc25c46bce2c5260f3b9d53bae1954f777b94 100644 (file)
@@ -370,7 +370,7 @@ InsetOld * readInset(LyXLex & lex, Buffer const & buf)
                                || tmptok == "Greyedout") {
                        inset = new InsetNote(buf.params(), tmptok);
                } else if (tmptok == "Branch") {
-                       inset = new InsetBranch(buf.params(), tmptok);
+                       inset = new InsetBranch(buf.params(), string());
                } else if (tmptok == "Include") {
                        InsetCommandParams p("Include");
                        inset = new InsetInclude(p);