From: Juergen Spitzmueller Date: Thu, 27 Dec 2012 10:05:39 +0000 (+0100) Subject: Do not force latex_language in arguments (bug #8471) X-Git-Tag: 2.1.0beta1~1048 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=258280cecf0cf2e1f31e7f9136165a7dc494192d;p=features.git Do not force latex_language in arguments (bug #8471) --- diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 55543ab0d7..fac205070d 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -266,7 +266,7 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd) { LYXERR(Debug::ACTION, "InsetText::doDispatch(): cmd: " << cmd); - if (isPassThru()) { + if (isPassThru() && lyxCode() != ARG_CODE) { // 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