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