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