X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetText.cpp;h=1c3689f627d81c1be78248329b45aad95c721913;hb=e449e70e3854da3aeda8dca1de22cabaf6ae0557;hp=41427ce7c3326c22838e4842a400bf8329cd7015;hpb=676a0639c505d52336e3228c44c2515ccbbaf34a;p=lyx.git diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 41427ce7c3..1c3689f627 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -290,7 +290,7 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd) LYXERR(Debug::ACTION, "InsetText::doDispatch(): cmd: " << cmd); // See bug #9042, for instance. - if (isPassThru() && lyxCode() != ARG_CODE) { + if (isPassThru()) { // Force any new text to latex_language FIXME: This // should only be necessary in constructor, but new // paragraphs that are created by pressing enter at