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