diff options
Diffstat (limited to 'src/uml/qumlinteraction.cpp')
-rw-r--r-- | src/uml/qumlinteraction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlinteraction.cpp b/src/uml/qumlinteraction.cpp index 8395d373..12305598 100644 --- a/src/uml/qumlinteraction.cpp +++ b/src/uml/qumlinteraction.cpp @@ -121,6 +121,8 @@ QUmlInteraction::~QUmlInteraction() QModelingElement *QUmlInteraction::clone() const { QUmlInteraction *c = new QUmlInteraction; + 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()); |