From ad94e7bde7e0020d59bf19e58bbc510155efff90 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 28 Dec 2012 09:47:58 +0100 Subject: [PATCH] This hack seems to be no more needed. Let's see... --- src/insets/InsetText.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.39.2