--- a/IDEFrame.py Fri May 31 09:07:23 2013 +0200
+++ b/IDEFrame.py Fri May 31 10:38:46 2013 +0200
@@ -2027,7 +2027,7 @@
editor.SubscribeAllDataConsumers()
elif editor.IsDebugging():
editor.SubscribeAllDataConsumers()
- self.DebugVariablePanel.UnregisterObsoleteData()
+ self.DebugVariablePanel.UnsubscribeObsoleteData()
def AddDebugVariable(self, iec_path, force=False):
if self.EnableDebug:
--- a/controls/DebugVariablePanel/DebugVariableGraphicPanel.py Fri May 31 09:07:23 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicPanel.py Fri May 31 10:38:46 2013 +0200
@@ -460,7 +460,7 @@
self.TickTimeLabel.SetLabel("")
self.TickSizer.Layout()
- def UnregisterObsoleteData(self):
+ def UnsubscribeObsoleteData(self):
self.SubscribeAllDataConsumers()
if self.DataProducer is not None:
--- a/controls/DebugVariablePanel/DebugVariableTablePanel.py Fri May 31 09:07:23 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableTablePanel.py Fri May 31 10:38:46 2013 +0200
@@ -244,7 +244,7 @@
self.Thaw()
- def UnregisterObsoleteData(self):
+ def UnsubscribeObsoleteData(self):
self.SubscribeAllDataConsumers()
items = [(idx, item) for idx, item in enumerate(self.Table.GetData())]
--- a/controls/DebugVariablePanel/DebugVariableViewer.py Fri May 31 09:07:23 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableViewer.py Fri May 31 10:38:46 2013 +0200
@@ -101,7 +101,7 @@
Return items displayed by Viewer
@return: List of items displayed in Viewer
"""
- return self.Items
+ return self.ItemsDict.values()
def AddItem(self, item):
"""