]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.cpp
Fix bug 5806: http://bugzilla.lyx.org/show_bug.cgi?id=5806.
[features.git] / src / insets / InsetBranch.cpp
index 80bfbf41315ffc3762a83db830d2be61a63f2f4e..68dfe19385cc6360223722f1ff5eeb1bda6dd296 100644 (file)
@@ -298,7 +298,8 @@ void InsetBranchParams::write(ostream & os) const
 
 void InsetBranchParams::read(Lexer & lex)
 {
-       lex >> branch;
+       lex.eatLine();
+       branch = lex.getDocString();
 }
 
 } // namespace lyx