mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Do not set language from keyboard in passthru setting
This commit is contained in:
parent
cbc9a901af
commit
a877cdb196
@ -2399,7 +2399,9 @@ 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())
|
||||||
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