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