From eaacc6c192225db98ef4df3953aa05110f69062a Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 16 Jan 2002 23:48:36 +0000 Subject: [PATCH] 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 --- src/ChangeLog | 5 +++++ src/CutAndPaste.C | 2 ++ 2 files changed, 7 insertions(+) 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(); } -- 2.39.2