From: Jean-Marc Lasgouttes Date: Wed, 16 Jan 2002 23:48:36 +0000 (+0000) Subject: fix bug 171 (pasting of floats in floats) X-Git-Tag: 1.6.10~19994 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=eaacc6c192225db98ef4df3953aa05110f69062a;p=features.git fix bug 171 (pasting of floats in floats) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3399 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index cbac35bb12..d85e955130 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-01-17 Jean-Marc Lasgouttes + + * CutAndPaste.C (pasteSelection): when pasting multiple paragraph, + make sure to set their inset_owner to the right value (bug #171) + 2001-12-12 Ben Stanley * DepTable.h diff --git a/src/CutAndPaste.C b/src/CutAndPaste.C index da7a4ae9bd..395e860419 100644 --- a/src/CutAndPaste.C +++ b/src/CutAndPaste.C @@ -286,6 +286,8 @@ bool CutAndPaste::pasteSelection(Paragraph ** par, Paragraph ** endpar, } } } + // set the inset owner of this paragraph + tmpbuf->setInsetOwner((*par)->inInset()); tmpbuf = tmpbuf->next(); }