summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-09-20 06:48:36 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-09-20 06:48:36 (GMT)
commit6f8e0595229a67629cd861ee2007a655407427d1 (patch)
tree2f7b72c61f37b1708834a201bb07f20569ef4119
parent3bef8511ca5859e1345c798f8b38a9ae46dfdd72 (diff)
Crash fix.
-rw-r--r--umbrello/umlscene.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/umbrello/umlscene.cpp b/umbrello/umlscene.cpp
index e0d72e1..198e3d0 100644
--- a/umbrello/umlscene.cpp
+++ b/umbrello/umlscene.cpp
@@ -2254,6 +2254,9 @@ void UMLScene::createAutoAssociations(UMLWidget * widget)
}
// Now that we have determined the "other" UMLObject, seek it in
// this view's UMLWidgets.
+ if (!other) {
+ continue;
+ }
Uml::ID::Type otherID = other->id();
bool breakFlag = false;