summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-11-18 07:41:07 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-11-18 07:41:07 (GMT)
commit6e0b03fd72de37893568bf6aaf2d650ab51a8849 (patch)
treeb44afc0c2e9aa46fa90825117aa39ab139b078f3
parenta86130613067940d27c98f6f845037817c705297 (diff)
Fix 'After duplicating class or interface return type of operations are lost'.
BUG:372587 FIXED-IN:2.20.80 (KDE Applications 16.11.80)
-rw-r--r--umbrello/umlmodel/classifierlistitem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/umbrello/umlmodel/classifierlistitem.cpp b/umbrello/umlmodel/classifierlistitem.cpp
index 1912f8b..134873e 100644
--- a/umbrello/umlmodel/classifierlistitem.cpp
+++ b/umbrello/umlmodel/classifierlistitem.cpp
@@ -76,6 +76,9 @@ void UMLClassifierListItem::copyInto(UMLObject *lhs) const
{
// Call the parent.
UMLObject::copyInto(lhs);
+ UMLClassifierListItem *o = lhs->asUMLClassifierListItem();
+ if (o)
+ o->setType(getType());
}
/**