]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.C
More fixes to the autocollapsing of paragraphs.
[lyx.git] / src / paragraph_pimpl.C
index e3c85580603810e1917afc3d52eff0e01c76f6d8..be57e47838a49e86e0db83a8fe6ac00c0443795d 100644 (file)
@@ -150,6 +150,7 @@ void Paragraph::Pimpl::insertInset(pos_type pos,
                        "there is an inset in position: " << pos << std::endl;
        } else {
                owner_->insetlist.insert(it, InsetTable(pos, inset));
+               inset->parOwner(owner_);
        }
        
        if (inset_owner)