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