IDEFrame.py
changeset 1214 2ef048b5383c
parent 1207 fb9799a0c0f7
child 1222 775b48a2be3b
--- a/IDEFrame.py	Mon Jun 03 11:52:13 2013 +0200
+++ b/IDEFrame.py	Mon Jun 03 17:29:03 2013 +0200
@@ -2029,9 +2029,9 @@
                     editor.SubscribeAllDataConsumers()
             self.DebugVariablePanel.SubscribeAllDataConsumers()
     
-    def AddDebugVariable(self, iec_path, force=False):
+    def AddDebugVariable(self, iec_path, force=False, graph=False):
         if self.EnableDebug:
-            self.DebugVariablePanel.InsertValue(iec_path, force=force)
+            self.DebugVariablePanel.InsertValue(iec_path, force=force, graph=graph)
             self.EnsureTabVisible(self.DebugVariablePanel)
             
 #-------------------------------------------------------------------------------