diff -r 9183fb765f16 -r 2d4cc768a1bc graphics/LD_Objects.py --- a/graphics/LD_Objects.py Thu Oct 10 17:04:23 2013 +0200 +++ b/graphics/LD_Objects.py Thu Oct 10 17:10:01 2013 +0200 @@ -774,8 +774,8 @@ # Unconnect input and output def Clean(self): - self.Input.UnConnect() - self.Output.UnConnect() + self.Input.UnConnect(delete = self.Parent.GetDrawingMode() == FREEDRAWING_MODE) + self.Output.UnConnect(delete = self.Parent.GetDrawingMode() == FREEDRAWING_MODE) # Refresh the size of text for name def RefreshNameSize(self):