This hack seems to be no more needed. Let's see...

This commit is contained in:
Juergen Spitzmueller 2012-12-28 09:47:58 +01:00
parent 824b0313b3
commit ad94e7bde7

View File

@ -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: