]> git.lyx.org Git - lyx.git/commitdiff
#7778 avoid toggle of languages when LFUN_LANGUAGE is executed
authorStephan Witt <switt@lyx.org>
Fri, 23 Sep 2011 16:50:18 +0000 (16:50 +0000)
committerStephan Witt <switt@lyx.org>
Fri, 23 Sep 2011 16:50:18 +0000 (16:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39735 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index bae330704efd7339269347ca32185d7dbce588b9..ac74ac2948bae959590cfd08fc6d6f7b6aba1424 100644 (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;
        }