From: Jean-Marc Lasgouttes Date: Wed, 4 Feb 2009 14:23:16 +0000 (+0000) Subject: Oops! forgot to set a sane layout (bug 4859 again) X-Git-Tag: 2.0.0~7314 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=110607217640ca777cb1f39c3a1914330c434217;p=features.git Oops! forgot to set a sane layout (bug 4859 again) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28347 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text.cpp b/src/Text.cpp index 1d8366930a..dde070405f 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -1340,6 +1340,7 @@ bool Text::read(Buffer const & buf, Lexer & lex, par.params().depth(depth); par.setFont(0, Font(inherit_font, buf.params().language)); + par.setPlainOrDefaultLayout(buf.params().documentClass()); pars_.push_back(par); }