mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fix compilation mess in d94bd0726
This commit is contained in:
parent
a906676c89
commit
abaf2e9bda
@ -2400,7 +2400,7 @@ bool notifyCursorLeavesOrEnters(Cursor const & old, Cursor & cur)
|
|||||||
void Cursor::setLanguageFromInput()
|
void Cursor::setLanguageFromInput()
|
||||||
{
|
{
|
||||||
if (!lyxrc.respect_os_kbd_language
|
if (!lyxrc.respect_os_kbd_language
|
||||||
|| (inTextEd() && paragraph().isPassthru())
|
|| (inTexted() && paragraph().isPassThru()))
|
||||||
return;
|
return;
|
||||||
string const & code = theApp()->inputLanguageCode();
|
string const & code = theApp()->inputLanguageCode();
|
||||||
Language const * lang = languages.getFromCode(code, buffer()->getLanguages());
|
Language const * lang = languages.getFromCode(code, buffer()->getLanguages());
|
||||||
|
Loading…
Reference in New Issue
Block a user