mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
use layout default not layout from prev para
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3683 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1ce24386f2
commit
3173a2ee45
@ -1,3 +1,8 @@
|
||||
2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* paragraph.C (breakParagraph): use default layout not layout of
|
||||
prev paragraph.
|
||||
|
||||
2002-03-06 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
|
||||
|
@ -850,7 +850,7 @@ void Paragraph::breakParagraph(BufferParams const & bparams,
|
||||
{
|
||||
// create a new paragraph
|
||||
Paragraph * tmp = new Paragraph(this);
|
||||
tmp->layout(layout());
|
||||
tmp->layout(textclasslist[bparams.textclass].defaultLayoutName());
|
||||
|
||||
// remember to set the inset_owner
|
||||
tmp->setInsetOwner(inInset());
|
||||
|
Loading…
Reference in New Issue
Block a user