graphics/GraphicCommons.py
changeset 368 591ba4003d74
parent 367 2fdf57d0ce51
child 372 8cab11dd2325
--- a/graphics/GraphicCommons.py	Wed Jun 03 14:57:10 2009 +0200
+++ b/graphics/GraphicCommons.py	Wed Jun 03 16:59:29 2009 +0200
@@ -1739,7 +1739,8 @@
                 self.StartConnected.RefreshValue()
             if self.EndConnected:
                 self.EndConnected.RefreshValue()
-            self.Parent.UpdateRefreshRect(self.GetRedrawRect())
+            if self.Visible:
+                self.Parent.UpdateRefreshRect(self.GetRedrawRect())
             if isinstance(value, BooleanType) and self.StartConnected is not None:
                 block = self.StartConnected.GetParentBlock()
                 block.SpreadCurrent()