graphics/GraphicCommons.py
changeset 679 91e8ff268e96
parent 667 baab9eb5b8ad
--- a/graphics/GraphicCommons.py	Fri May 04 10:12:11 2012 +0200
+++ b/graphics/GraphicCommons.py	Fri May 04 11:12:08 2012 +0200
@@ -1523,6 +1523,8 @@
     # Changes the connector name
     def SetType(self, type):
         self.Type = type
+        for wire, handle in self.Wires:
+            wire.SetValid(wire.IsConnectedCompatible())
     
     # Returns the connector name
     def GetName(self):