diff options
Diffstat (limited to 'src/uml/qumlactionexecutionspecification.cpp')
-rw-r--r-- | src/uml/qumlactionexecutionspecification.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlactionexecutionspecification.cpp b/src/uml/qumlactionexecutionspecification.cpp index 66ccbc07..9cec0473 100644 --- a/src/uml/qumlactionexecutionspecification.cpp +++ b/src/uml/qumlactionexecutionspecification.cpp @@ -90,6 +90,8 @@ QUmlActionExecutionSpecification::~QUmlActionExecutionSpecification() QModelingElement *QUmlActionExecutionSpecification::clone() const { QUmlActionExecutionSpecification *c = new QUmlActionExecutionSpecification; + 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()); |