diff --git a/src/ChangeLog b/src/ChangeLog index 74816035ce..f31f273869 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-03-07 Lars Gullik Bjønnes + + * paragraph.C (breakParagraph): use default layout not layout of + prev paragraph. + 2002-03-06 Juergen Vigna * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as diff --git a/src/paragraph.C b/src/paragraph.C index 6cd8122d48..8d53f214c5 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -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());