Disregard font properties changes when inserting a separator.

This allows to output a simple blank line instead of strange constructs.
This commit is contained in:
Enrico Forestieri 2014-05-18 17:34:11 +02:00
parent a919cd8c68
commit 0616c8fe32

View File

@ -1089,6 +1089,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
lyx::dispatch(FuncRequest(LFUN_SEPARATOR_INSERT, "parbreak"));
breakParagraph(cur);
}
Font const f(inherit_font, cur.current_font.language());
pars_[cur.pit() - 1].resetFonts(f);
} else {
breakParagraph(cur, cmd.argument() == "inverse");
}