diff options
Diffstat (limited to 'src/uml/qumlcollaborationuse.cpp')
-rw-r--r-- | src/uml/qumlcollaborationuse.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlcollaborationuse.cpp b/src/uml/qumlcollaborationuse.cpp index d6fbbd9a..ff2fd03c 100644 --- a/src/uml/qumlcollaborationuse.cpp +++ b/src/uml/qumlcollaborationuse.cpp @@ -84,6 +84,8 @@ QUmlCollaborationUse::~QUmlCollaborationUse() QModelingElement *QUmlCollaborationUse::clone() const { QUmlCollaborationUse *c = new QUmlCollaborationUse; + c->asQModelingObject()->setObjectName(this->asQModelingObject()->objectName()); + c->asQModelingObject()->setProperty("role", this->asQModelingObject()->property("role")); foreach (QUmlComment *element, ownedComments()) c->addOwnedComment(dynamic_cast<QUmlComment *>(element->clone())); c->setName(name()); |