# HG changeset patch
# User Laurent Bessard
# Date 1371542145 -7200
# Node ID 4282f62c1cf06110b8dcb95902cba7d4e61aa833
# Parent  242512c56ea1ef899ca9f1b2afa370dd14328821
Fixed bug when removing obsolete variables from Debug Variable Panel

diff -r 242512c56ea1 -r 4282f62c1cf0 controls/DebugVariablePanel/DebugVariableGraphicPanel.py
--- a/controls/DebugVariablePanel/DebugVariableGraphicPanel.py	Mon Jun 17 23:40:41 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicPanel.py	Tue Jun 18 09:55:45 2013 +0200
@@ -584,7 +584,7 @@
             if self.DataProducer is not None:
                 self.SetTickTime(self.DataProducer.GetTicktime())
         
-        for panel in self.GraphicPanels:
+        for panel in self.GraphicPanels[:]:
             panel.SubscribeAllDataConsumers()
             if panel.ItemsIsEmpty():
                 if panel.HasCapture():