graphics/GraphicCommons.py
changeset 857 9695969796d0
parent 852 1009f956d2ee
child 875 a8952b79caec
--- a/graphics/GraphicCommons.py	Thu Oct 18 12:05:45 2012 +0200
+++ b/graphics/GraphicCommons.py	Thu Oct 18 16:30:12 2012 +0200
@@ -1667,8 +1667,9 @@
         # If no wire defined, unconnect all wires
         if not wire:
             self.Wires = []
-        self.RefreshValid()
-        self.ParentBlock.RefreshModel(False)
+        if not delete:
+            self.RefreshValid()
+            self.ParentBlock.RefreshModel(False)
     
     # Returns if connector has one or more wire connected
     def IsConnected(self):