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