graphics/GraphicCommons.py
changeset 1062 fd7c9a7cf882
parent 1054 ef514eaacd8c
child 1069 880ec628d490
--- a/graphics/GraphicCommons.py	Wed Apr 24 18:34:00 2013 +0900
+++ b/graphics/GraphicCommons.py	Wed Apr 24 17:37:46 2013 +0200
@@ -1695,6 +1695,10 @@
     def InsertConnect(self, idx, wire, refresh = True):
         if wire not in self.Wires:
             self.Wires.insert(idx, wire)
+            if wire[1] == 0:
+                wire[0].ConnectStartPoint(None, self)
+            else:
+                wire[0].ConnectEndPoint(None, self)
             if refresh:
                 self.ParentBlock.RefreshModel(False)