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