# HG changeset patch # User Laurent Bessard # Date 1351681480 -3600 # Node ID 8737f155449464f304b3ceea27e7eb6b36cc3b90 # Parent 6aadbde5f41ee1e5c680ae7b792c6962d5a7d10b Fix bug Variable and Continuation BoundingBox not refreshed when using Type modification shortcuts diff -r 6aadbde5f41e -r 8737f1554494 graphics/FBD_Objects.py --- 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):