graphics/GraphicCommons.py
changeset 1054 ef514eaacd8c
parent 1047 efcc2283dd77
child 1069 880ec628d490
--- a/graphics/GraphicCommons.py	Tue Apr 23 12:50:53 2013 +0200
+++ b/graphics/GraphicCommons.py	Tue Apr 23 21:46:15 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)