]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.cpp
Some things did not need to be mutable after all
[lyx.git] / src / insets / InsetLayout.cpp
index a1677de41f756d8ed045d517341c1506ef468b1d..088e4bc6e36292158c23b85ebf7faeb5e96777b1 100644 (file)
@@ -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:  {