]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.cpp
Simplify Changers interface
[lyx.git] / src / insets / InsetText.cpp
index 41427ce7c3326c22838e4842a400bf8329cd7015..1c3689f627d81c1be78248329b45aad95c721913 100644 (file)
@@ -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