+2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * paragraph.C (BreakParagraph): set the inset_owner in the new par
+ to the same as the par we break from
+
2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
* commandtags.h: add LFUN_INSET_WIDE_FLOAT
{
// create a new paragraph
LyXParagraph * tmp = new LyXParagraph(this);
+ // remember to set the inset_owner
+ tmp->SetInsetOwner(InInset());
// this is an idea for a more userfriendly layout handling, I will
// see what the users say
if (layout.labeltype == LABEL_SENSITIVE) {
bool isOK (par->InInset() && par->InInset()->owner() &&
(par->InInset()->owner()->LyxCode() == Inset::FLOAT_CODE));
+
if (isOK) {
InsetFloat * tmp = static_cast<InsetFloat*>(par->InInset()->owner());
Floating const & fl