summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlconnectableelementtemplateparameter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qumlconnectableelementtemplateparameter.cpp')
-rw-r--r--src/uml/qumlconnectableelementtemplateparameter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlconnectableelementtemplateparameter.cpp b/src/uml/qumlconnectableelementtemplateparameter.cpp
index c3f56789..9a818e55 100644
--- a/src/uml/qumlconnectableelementtemplateparameter.cpp
+++ b/src/uml/qumlconnectableelementtemplateparameter.cpp
@@ -83,6 +83,8 @@ QUmlConnectableElementTemplateParameter::~QUmlConnectableElementTemplateParamete
QModelingElement *QUmlConnectableElementTemplateParameter::clone() const
{
QUmlConnectableElementTemplateParameter *c = new QUmlConnectableElementTemplateParameter;
+ 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()));
if (ownedDefault())