summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlstartclassifierbehavioraction.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-11-27 07:21:42 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-11-27 11:17:59 +0100
commit491e464197ee619fa718c1acef9cd555e9ad34b6 (patch)
tree556e47766dde5839351db70adeee6af499df35c4 /src/uml/qumlstartclassifierbehavioraction.cpp
parent3198bd4e3c7086d4ea112339107eade27a1db58e (diff)
Update UML metamodel implementation
Change-Id: I08dd9f1900e8d90f8d91dc731fe3c8d465c01676 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qumlstartclassifierbehavioraction.cpp')
-rw-r--r--src/uml/qumlstartclassifierbehavioraction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlstartclassifierbehavioraction.cpp b/src/uml/qumlstartclassifierbehavioraction.cpp
index 6aaf6501..3d6db9cb 100644
--- a/src/uml/qumlstartclassifierbehavioraction.cpp
+++ b/src/uml/qumlstartclassifierbehavioraction.cpp
@@ -97,6 +97,8 @@ QUmlStartClassifierBehaviorAction::~QUmlStartClassifierBehaviorAction()
QModelingElement *QUmlStartClassifierBehaviorAction::clone() const
{
QUmlStartClassifierBehaviorAction *c = new QUmlStartClassifierBehaviorAction;
+ 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());