changeset 1828 | 396da88d7b5c |
parent 1782 | 5b6ad7a7fd9d |
child 1832 | 0f1081928d65 |
--- a/graphics/GraphicCommons.py Fri Sep 22 10:57:57 2017 +0300 +++ b/graphics/GraphicCommons.py Fri Sep 22 16:37:38 2017 +0300 @@ -2652,7 +2652,7 @@ scalex, scaley = dc.GetUserScale() dc.SetUserScale(1, 1) # If user trying to connect wire with wrong input, highlight will become red. - if self.ErrHighlight and not (self.EndConnected): + if self.ErrHighlight and not self.EndConnected: highlightcolor = wx.RED else: highlightcolor = HIGHLIGHTCOLOR