Do not force latex_language in arguments (bug #8471)

This commit is contained in:
Juergen Spitzmueller 2012-12-27 11:05:39 +01:00
parent 2e764c2c66
commit 258280cecf

View File

@ -266,7 +266,7 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd)
{ {
LYXERR(Debug::ACTION, "InsetText::doDispatch(): cmd: " << cmd); LYXERR(Debug::ACTION, "InsetText::doDispatch(): cmd: " << cmd);
if (isPassThru()) { if (isPassThru() && lyxCode() != ARG_CODE) {
// Force any new text to latex_language FIXME: This // Force any new text to latex_language FIXME: This
// should only be necessary in constructor, but new // should only be necessary in constructor, but new
// paragraphs that are created by pressing enter at // paragraphs that are created by pressing enter at