[LyX/master] Only exclude ERT from language switch doing
Juergen Spitzmueller
spitz at lyx.org
Sat Aug 15 14:21:23 UTC 2020
commit 3c5c41ddc2d4a4f30d5ad27ea3dcd679b7a4db24
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Aug 15 16:46:18 2020 +0200
Only exclude ERT from language switch doing
---
src/Paragraph.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 6696188..7b46d1e 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 &&
More information about the lyx-cvs
mailing list