Revert "Fix compilation mess in d94bd0726"

This reverts commit abaf2e9bda.
This commit is contained in:
Jean-Marc Lasgouttes 2020-10-21 18:50:10 +02:00
parent abaf2e9bda
commit 526b4b0d79

View 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());