]> git.lyx.org Git - features.git/blobdiff - src/Cursor.cpp
Unify naming of menu items
[features.git] / src / Cursor.cpp
index 7a723c6fdfa6de1774aab1e726c4b4a2b7048e62..7197b91cf26951477c8515f69915c3bc686dc0d5 100644 (file)
@@ -2399,8 +2399,7 @@ bool notifyCursorLeavesOrEnters(Cursor const & old, Cursor & cur)
 
 void Cursor::setLanguageFromInput()
 {
-       if (!lyxrc.respect_os_kbd_language
-           || (inTexted() && paragraph().isPassThru()))
+       if (!lyxrc.respect_os_kbd_language)
                return;
        string const & code = theApp()->inputLanguageCode();
        Language const * lang = languages.getFromCode(code, buffer()->getLanguages());