mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 07:45:44 +00:00
fix lockup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5389 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8bd80f2b4e
commit
c7b1647c97
@ -1,3 +1,8 @@
|
||||
|
||||
2002-10-14 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* ControlDocument.C: somebody else's fix for a hard lockup
|
||||
|
||||
2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
|
||||
|
||||
* ControlDocument.h:
|
||||
|
@ -153,7 +153,9 @@ void ControlDocument::saveAsDefault()
|
||||
defaults.params = params();
|
||||
|
||||
// add an empty paragraph. Is this enough?
|
||||
defaults.paragraphs.set(new Paragraph);
|
||||
Paragraph * par = new Paragraph;
|
||||
par->layout(params().getLyXTextClass().defaultLayout());
|
||||
defaults.paragraphs.set(par);
|
||||
|
||||
defaults.writeFile(defaults.fileName());
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
|
||||
2002-10-14 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* FormDocument.C: somebody else's fix for a hard lockup
|
||||
|
||||
2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* xforms_helpers.C (formatted): fix small typo, spotted by Rob
|
||||
|
@ -412,7 +412,9 @@ bool saveParamsAsDefault(BufferParams const ¶ms)
|
||||
defaults.params = params;
|
||||
|
||||
// add an empty paragraph. Is this enough?
|
||||
defaults.paragraphs.set(new Paragraph);
|
||||
Paragraph * par = new Paragraph;
|
||||
par->layout(params.getLyXTextClass().defaultLayout());
|
||||
defaults.paragraphs.set(par);
|
||||
|
||||
return defaults.writeFile(defaults.fileName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user