diff -r 08e4394ff4fb -r 0de89da92ee0 graphics/SFC_Objects.py --- a/graphics/SFC_Objects.py Wed Aug 16 16:37:45 2017 +0300 +++ b/graphics/SFC_Objects.py Wed Aug 16 17:27:58 2017 +0300 @@ -815,7 +815,7 @@ def SetType(self, type, condition=None): if self.Type != type: if self.Type == "connection": - self.Condition.UnConnect(delete=self.Parent.GetDrawingMode() == FREEDRAWING_MODE) + self.Condition.UnConnect(delete=self.Parent.GetDrawingMode() == FREEDRAWING_MODE) self.Type = type if type == "connection": self.Condition = Connector(self, "", "BOOL", wx.Point(0, self.Size[1] / 2), WEST)