Fix bug Variable and Continuation BoundingBox not refreshed when using Type modification shortcuts
--- a/graphics/FBD_Objects.py Fri Oct 26 11:14:48 2012 +0200
+++ b/graphics/FBD_Objects.py Wed Oct 31 12:04:40 2012 +0100
@@ -666,6 +666,7 @@
self.Output.UnConnect(delete = True)
self.Output = None
self.RefreshConnectors()
+ self.RefreshBoundingBox()
elif value_type != self.ValueType:
if self.Input:
self.Input.SetType(value_type)
@@ -904,6 +905,7 @@
else:
self.Connector = Connector(self, "", "ANY", wx.Point(0, 0), EAST)
self.RefreshConnectors()
+ self.RefreshBoundingBox()
# Returns the connection type
def GetType(self):