Adding support for resetting DebugVariablePanel when closing project
authorLaurent Bessard
Wed, 05 Sep 2012 11:23:15 +0200
changeset 758 bb7a881b20cf
parent 757 628dd4762b57
child 759 264637370f8f
Adding support for resetting DebugVariablePanel when closing project
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Wed Sep 05 11:20:53 2012 +0200
+++ b/PLCOpenEditor.py	Wed Sep 05 11:23:15 2012 +0200
@@ -1215,6 +1215,8 @@
         self.PouInstanceVariablesPanel.ResetView()
         self.LibraryPanel.ResetTree()
         self.LibraryPanel.SetController(None)
+        if self.EnableDebug:
+            self.DebugVariablePanel.ResetGrid()
         self.Controler = None
 
     def OnCloseTabMenu(self, event):