diff options
Diffstat (limited to 'src/uml/qumlactioninputpin.cpp')
-rw-r--r-- | src/uml/qumlactioninputpin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uml/qumlactioninputpin.cpp b/src/uml/qumlactioninputpin.cpp index 30267b39..8417897b 100644 --- a/src/uml/qumlactioninputpin.cpp +++ b/src/uml/qumlactioninputpin.cpp @@ -100,6 +100,8 @@ QUmlActionInputPin::~QUmlActionInputPin() QModelingElement *QUmlActionInputPin::clone() const { QUmlActionInputPin *c = new QUmlActionInputPin; + 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->setOrdered(isOrdered()); |