Commit 8ee3567f authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Check result of calling UMLObject::asUMLClassifierListItem() to avoid crashes.

parent 4bb3b45f
......@@ -1011,6 +1011,8 @@ UMLClassifierListItemList UMLClassifier::getFilteredList(UMLObject::ObjectType o
UMLClassifierListItem *listItem = o->asUMLClassifierListItem();
if (!listItem)
if (ot == UMLObject::ot_UMLObject || listItem->baseType() == ot) {
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