commit 812ff7de7550f7c5370584294e61d59d8bbb8700
Author: Juergen Spitzmueller <[email protected]>
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) {
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to