From 3c5c41ddc2d4a4f30d5ad27ea3dcd679b7a4db24 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 15 Aug 2020 16:46:18 +0200 Subject: [PATCH] Only exclude ERT from language switch doing --- src/Paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 6696188140..7b46d1eca9 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2597,7 +2597,7 @@ void Paragraph::latex(BufferParams const & bparams, c == META_INSET && getInset(i) && getInset(i)->allowMultiPar() - && !getInset(i)->isPassThru(); + && getInset(i)->lyxCode() != ERT_CODE; // Do we need to close the previous font? if (open_font && -- 2.39.5