mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 04:21:56 +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>
|
2003-06-03 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* ControlExternal.[Ch]: remove viewExternal and updateExternal.
|
* ControlExternal.[Ch]: remove viewExternal and updateExternal.
|
||||||
|
@ -63,10 +63,14 @@ void ControlDocument::apply()
|
|||||||
if (!bufferIsAvailable())
|
if (!bufferIsAvailable())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
view().apply();
|
||||||
|
|
||||||
|
// this must come first so that a language change
|
||||||
|
// is correctly noticed
|
||||||
|
setLanguage();
|
||||||
|
|
||||||
classApply();
|
classApply();
|
||||||
|
|
||||||
view().apply();
|
|
||||||
setLanguage();
|
|
||||||
buffer()->params = *bp_;
|
buffer()->params = *bp_;
|
||||||
|
|
||||||
lv_.view()->redoCurrentBuffer();
|
lv_.view()->redoCurrentBuffer();
|
||||||
@ -114,7 +118,6 @@ void ControlDocument::classApply()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// successfully loaded
|
// successfully loaded
|
||||||
view().apply();
|
|
||||||
buffer()->params = *bp_;
|
buffer()->params = *bp_;
|
||||||
|
|
||||||
lv_.message(_("Converting document to new document class..."));
|
lv_.message(_("Converting document to new document class..."));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user