Revision e264e22...
Go back to digest for 17th November 2013Bug Fixes in Development Tools
Joris Steyn committed changes in [umbrello] /clipboard:
Fix copy/paste of folders
Copying folders in the tree view now works as described. Nested folders and
pasting to other instances of Umbrello work fine as well.
Ideally, when copying a folder, the XMI clip only contains the UML:Package node
and all child items are contained and loaded from Namespace.ownedElements. But,
loadFromXMI() does not support that. This fix makes a paste operation ignore
ownedElements completely and uses the "flat" list of all children to create the
objects.
File Changes
Modified 2 files
- /clipboard
- umbrello/umlclipboard.cpp
- umbrello/umldragdata.cpp
2 files changed in total