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