[LyX/master] Take out inheritFont() condition
Juergen Spitzmueller
spitz at lyx.org
Sun Aug 16 08:54:15 UTC 2020
commit 812ff7de7550f7c5370584294e61d59d8bbb8700
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sun Aug 16 11:18:49 2020 +0200
Take out inheritFont() condition
---
src/Paragraph.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 6c90297..dcba46a 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -1033,7 +1033,7 @@ void Paragraph::Private::latexInset(BufferParams const & bparams,
close = true;
}
- if (open_font && (!inset->inheritFont() || fontswitch_inset)) {
+ if (open_font && fontswitch_inset) {
bool lang_closed = false;
// Close language if needed
if (closeLanguage) {
More information about the lyx-cvs
mailing list