mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
18553fc218
commit
2b24e2a45b
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user