]> git.lyx.org Git - features.git/commitdiff
Revert "Fix compilation mess in d94bd0726"
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 21 Oct 2020 16:50:10 +0000 (18:50 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 21 Oct 2020 16:50:10 +0000 (18:50 +0200)
This reverts commit abaf2e9bda86b74c4b29b6ead106026665f02a1b.

src/Cursor.cpp

index 7a723c6fdfa6de1774aab1e726c4b4a2b7048e62..b30ed0f7942628482790e4be4837ebfc01a7be8b 100644 (file)
@@ -2400,7 +2400,7 @@ bool notifyCursorLeavesOrEnters(Cursor const & old, Cursor & cur)
 void Cursor::setLanguageFromInput()
 {
        if (!lyxrc.respect_os_kbd_language
-           || (inTexted() && paragraph().isPassThru()))
+           || (inTextEd() && paragraph().isPassthru())
                return;
        string const & code = theApp()->inputLanguageCode();
        Language const * lang = languages.getFromCode(code, buffer()->getLanguages());