Fixed bug when removing obsolete variables from Debug Variable Panel
authorLaurent Bessard
Tue, 18 Jun 2013 09:55:45 +0200
changeset 1266 4282f62c1cf0
parent 1265 242512c56ea1
child 1267 fae0809eae98
Fixed bug when removing obsolete variables from Debug Variable Panel
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():