diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index 26619216df..5e943a7ff1 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -300,8 +300,7 @@ void InsetBranchParams::write(ostream & os) const void InsetBranchParams::read(Lexer & lex) { - lex.eatLine(); - branch = lex.getDocString(); + lex >> branch; } } // namespace lyx