mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
a919cd8c68
commit
0616c8fe32
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user