Fix bug in SFC Transition when using connection
authorlaurent
Fri, 09 Sep 2011 11:58:53 +0200
changeset 553 1e1b632c7a41
parent 552 a387f258814a
child 554 08c26c62f5a7
Fix bug in SFC Transition when using connection
graphics/SFC_Objects.py
--- a/graphics/SFC_Objects.py	Wed Sep 07 15:53:28 2011 +0200
+++ b/graphics/SFC_Objects.py	Fri Sep 09 11:58:53 2011 +0200
@@ -756,7 +756,7 @@
                 return self.Condition
         connectors = [self.Input, self.Output]
         if self.Type == "connection":
-            connectors.append(self.Connection)
+            connectors.append(self.Condition)
         return self.FindNearestConnector(position, connectors)
     
     # Returns the transition condition connector