#7778 avoid toggle of languages when LFUN_LANGUAGE is executed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39735 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-09-23 16:50:18 +00:00
parent a5e152fdf7
commit d14f5a75af

View File

@ -1894,7 +1894,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
break;
selectWordWhenUnderCursor(cur, WHOLE_WORD_STRICT);
Font font(ignore_font, lang);
toggleAndShow(cur, this, font);
toggleAndShow(cur, this, font, false);
break;
}