Fix language changing (the language of the text was not updated).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6269 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2003-02-25 19:11:02 +00:00
parent 4d76301b0b
commit 0a4b18cbe3
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-02-25 Dekel Tsur <dekelts@tau.ac.il>
* ControlDocument.C (apply): Call to setLanguage() after updating bp_;
2003-01-31 Angus Leeming <leeming@lyx.org>
* ViewBase.h: add an isVisible() pure virtual method.

View File

@ -67,11 +67,10 @@ void ControlDocument::apply()
if (!bufferIsAvailable())
return;
setLanguage();
classApply();
view().apply();
setLanguage();
buffer()->params = *bp_;
lv_.view()->redoCurrentBuffer();