mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
lang apply fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7126 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
09a88b9c87
commit
387d1c6416
@ -1,3 +1,8 @@
|
||||
2003-06-06 John Levon <levon@movementarian.org>
|
||||
|
||||
* ControlDocument.C: make sure a language change
|
||||
always gets propogated
|
||||
|
||||
2003-06-03 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ControlExternal.[Ch]: remove viewExternal and updateExternal.
|
||||
|
@ -63,10 +63,14 @@ void ControlDocument::apply()
|
||||
if (!bufferIsAvailable())
|
||||
return;
|
||||
|
||||
view().apply();
|
||||
|
||||
// this must come first so that a language change
|
||||
// is correctly noticed
|
||||
setLanguage();
|
||||
|
||||
classApply();
|
||||
|
||||
view().apply();
|
||||
setLanguage();
|
||||
buffer()->params = *bp_;
|
||||
|
||||
lv_.view()->redoCurrentBuffer();
|
||||
@ -114,7 +118,6 @@ void ControlDocument::classApply()
|
||||
return;
|
||||
|
||||
// successfully loaded
|
||||
view().apply();
|
||||
buffer()->params = *bp_;
|
||||
|
||||
lv_.message(_("Converting document to new document class..."));
|
||||
|
Loading…
Reference in New Issue
Block a user