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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6266 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2003-02-25 18:52:13 +00:00
parent dc3d76a8a7
commit dc75a0e178
2 changed files with 5 additions and 1 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-02-21 Angus Leeming <leeming@lyx.org>
* Dialog.[Ch]:

View File

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