diff options
Diffstat (limited to 'src/uml/qumloperation.cpp')
-rw-r--r-- | src/uml/qumloperation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumloperation.cpp b/src/uml/qumloperation.cpp index 2e140198..409b5739 100644 --- a/src/uml/qumloperation.cpp +++ b/src/uml/qumloperation.cpp @@ -106,6 +106,8 @@ QUmlOperation::~QUmlOperation() QModelingElement *QUmlOperation::clone() const { QUmlOperation *c = new QUmlOperation; + 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 (ownedTemplateSignature()) |