mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Revert "Do not set language from keyboard in passthru setting"
This reverts commit d94bd07264
.
This commit is contained in:
parent
526b4b0d79
commit
2395522aa7
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user