Bug on refreshing Variable Panel fixed
authorlaurent
Thu, 24 Sep 2009 18:13:54 +0200
changeset 434 8a0dfd22c408
parent 433 26bc7d5d4264
child 435 893d04aff708
Bug on refreshing Variable Panel fixed
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Tue Sep 22 09:56:52 2009 +0200
+++ b/PLCOpenEditor.py	Thu Sep 24 18:13:54 2009 +0200
@@ -693,6 +693,7 @@
         self.SetRefreshFunctions()
         
         self.Maximize()
+        
 
 #-------------------------------------------------------------------------------
 #                               General Functions
@@ -1184,7 +1185,7 @@
         if selected != -1:
             window = self.TabsOpened.GetPage(selected)
             window.RefreshView()
-            if window.IsDebugging() and variablepanel:
+            if not window.IsDebugging() and variablepanel:
                 self.RefreshVariablePanel(window.GetTagName())
 
     def RefreshVariablePanel(self, tagname):