mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
By default, charstyles should not permit layout changes internally.
Fixes #10237.
This commit is contained in:
parent
c4ab621088
commit
152817576a
@ -226,8 +226,11 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass)
|
||||
lyxtype_ = translateLyXType(lt);
|
||||
if (lyxtype_ == NOLYXTYPE)
|
||||
LYXERR0("Unknown LyXType `" << lt << "'.");
|
||||
if (lyxtype_ == CHARSTYLE)
|
||||
if (lyxtype_ == CHARSTYLE) {
|
||||
// by default, charstyles force the plain layout
|
||||
multipar_ = false;
|
||||
forceplain_ = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case IL_LATEXTYPE: {
|
||||
|
Loading…
Reference in New Issue
Block a user