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
This commit is contained in:
Jean-Marc Lasgouttes 2002-01-16 23:48:36 +00:00
parent 36aa4ee109
commit eaacc6c192
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* 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 <bds02@uow.edu.au> 2001-12-12 Ben Stanley <bds02@uow.edu.au>
* DepTable.h * DepTable.h

View File

@ -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(); tmpbuf = tmpbuf->next();
} }