summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-11-17 23:41:56 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-11-17 23:41:56 (GMT)
commita86130613067940d27c98f6f845037817c705297 (patch)
tree5e3c9f1ff79fdbb18faebd681c5e79d506d304ca
parentb391fe5d6c004080e4e68c5bafadf74b778f559b (diff)
Fix 'Delete attributes or operations in classes'.
BUG:372579 FIXED-IN:2.20.80 (KDE Applications 16.11.80)
-rw-r--r--umbrello/umlmodel/classifier.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/umbrello/umlmodel/classifier.cpp b/umbrello/umlmodel/classifier.cpp
index 936ee14..96b1c8d 100644
--- a/umbrello/umlmodel/classifier.cpp
+++ b/umbrello/umlmodel/classifier.cpp
@@ -660,6 +660,10 @@ void UMLClassifier::copyInto(UMLObject *lhs) const
target->setBaseType(m_BaseType);
// CHECK: association property m_pClassAssoc is not copied
m_List.copyInto(&(target->m_List));
+ foreach(UMLObject *o, target->m_List) {
+ uIgnoreZeroPointer(o);
+ o->setUMLParent(target);
+ }
}
/**