Commit 4bb3b45f authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fix 'Unable to open a file created in Umbrello'.

Do not access possible zero pointer.

FIXED-IN:2.21.80 (KDE Applications 17.03.80)
parent 0d1832c4
......@@ -414,6 +414,8 @@ bool UMLEntity::resolveRef()
UMLObject* obj =;
if (obj->resolveRef()) {
UMLClassifierListItem *cli = obj->asUMLClassifierListItem();
if (!cli)
return success;
switch (cli->baseType()) {
case UMLObject::ot_EntityAttribute:
emit entityAttributeAdded(cli);
Markdown is supported
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