# HG changeset patch # User laurent # Date 1253808834 -7200 # Node ID 8a0dfd22c408dfa620bf90896d824f770ff5b704 # Parent 26bc7d5d42644a314074cc8a63426aed762a6348 Bug on refreshing Variable Panel fixed diff -r 26bc7d5d4264 -r 8a0dfd22c408 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):