InsetCollapsable.cpp (resetFonts):

- correctly initialize font (language) for PassThru insets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28672 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-03-02 10:24:07 +00:00
parent 18553fc218
commit 2b24e2a45b

View File

@ -623,8 +623,7 @@ bool InsetCollapsable::allowMultiPar() const
void InsetCollapsable::resetParagraphsFont()
{
Font font;
font.fontInfo() = inherit_font;
Font font(inherit_font, buffer().params().language);
if (layout_->isForceLtr())
font.setLanguage(latex_language);
if (layout_->isPassThru()) {