Commit 972a4253 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix regression in type cast migration.

With commit a5f92b67 a regression
has been introduced which removes UMLClassifier instances
containing associations from their parent folder while loading
from xmi file. On saving the uml model into a xmi file those
instances are excluded because they are not in the parents object
list (class member UMLPackage::m_objects). After (re)loading such
files some LOST_xxxx items in the tree view indicates this issue.

parent cbef5268
......@@ -703,7 +703,7 @@ bool UMLClassifier::resolveRef()
if (obj->resolveRef()) {
UMLClassifierListItem *cli = obj->asUMLClassifierListItem();
if (!cli)
return false;
switch (cli->baseType()) {
case UMLObject::ot_Attribute:
emit attributeAdded(cli);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment