]> git.lyx.org Git - lyx.git/commit
When the document language is changed, update cursor language too
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 Jun 2015 10:14:30 +0000 (12:14 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 Jun 2015 10:19:07 +0000 (12:19 +0200)
commit25913aaac6c294f96963f117158220dbb408e2a4
treedd6228d18d30ec13b3c379b5117f1c8f31f95316
parent0db513c4d62525f3f2cbb6a6a9ca31d5f2a2160a
When the document language is changed, update cursor language too

Actually, the change is done only if the cursor language was the
document language already.

This fixes an trivial but annoying problem: create a new file (in
English), change language to your favourite language, then start to
write. Before this fix, the words come out in English, which does not
make sense.

Fixes bug #9586.
src/frontends/qt4/GuiDocument.cpp