Bug with configutationEditor and ResourceEditor fixed
authorlbessard
Mon, 08 Sep 2008 09:43:43 +0200
changeset 260 ad7ced0e5662
parent 259 fae941a87cff
child 261 6fe3ee00f9a0
Bug with configutationEditor and ResourceEditor fixed
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Sun Sep 07 19:24:43 2008 +0200
+++ b/PLCOpenEditor.py	Mon Sep 08 09:43:43 2008 +0200
@@ -1149,7 +1149,7 @@
         selected = event.GetSelection()
         if selected >= 0:
             window = self.TabsOpened.GetPage(selected)
-            if self.Debug:
+            if not self.Debug:
                 self.SelectTypesTreeItem(window.GetTagName())
             else:
                 self.SelectInstancesTreeItem(self.InstancesTree.GetRootItem(), window.GetInstancePath())