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