From: Juergen Spitzmueller Date: Fri, 28 Dec 2012 08:47:58 +0000 (+0100) Subject: This hack seems to be no more needed. Let's see... X-Git-Tag: 2.1.0beta1~1044 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ad94e7bd;p=features.git This hack seems to be no more needed. Let's see... --- diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index dca7b473f7..fd96fef0be 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -266,6 +266,9 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd) { LYXERR(Debug::ACTION, "InsetText::doDispatch(): cmd: " << cmd); +#if 0 +// FIXME: This code does not seem to be necessary anymore +// Remove for 2.1 if no counter-evidence is found. if (isPassThru() && lyxCode() != ARG_CODE) { // Force any new text to latex_language FIXME: This // should only be necessary in constructor, but new @@ -276,6 +279,7 @@ void InsetText::doDispatch(Cursor & cur, FuncRequest & cmd) cur.current_font.setLanguage(latex_language); cur.real_current_font.setLanguage(latex_language); } +#endif switch (cmd.action()) { case LFUN_PASTE: