diff options
Diffstat (limited to 'src/uml/qumlparameterableelement.cpp')
-rw-r--r-- | src/uml/qumlparameterableelement.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlparameterableelement.cpp b/src/uml/qumlparameterableelement.cpp index fd188157..7604b73a 100644 --- a/src/uml/qumlparameterableelement.cpp +++ b/src/uml/qumlparameterableelement.cpp @@ -78,6 +78,8 @@ QUmlParameterableElement::~QUmlParameterableElement() QModelingElement *QUmlParameterableElement::clone() const { QUmlParameterableElement *c = new QUmlParameterableElement; + 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())); return c; |