summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlcallevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qumlcallevent.cpp')
-rw-r--r--src/uml/qumlcallevent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlcallevent.cpp b/src/uml/qumlcallevent.cpp
index 492d258a..7e9ad431 100644
--- a/src/uml/qumlcallevent.cpp
+++ b/src/uml/qumlcallevent.cpp
@@ -87,6 +87,8 @@ QUmlCallEvent::~QUmlCallEvent()
QModelingElement *QUmlCallEvent::clone() const
{
QUmlCallEvent *c = new QUmlCallEvent;
+ 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());