mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
This hack seems to be no more needed. Let's see...
This commit is contained in:
parent
824b0313b3
commit
ad94e7bde7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user