Some bugs fixed
authorlbessard
Sun, 09 Dec 2007 19:01:36 +0100
changeset 129 ae2421aa0aa4
parent 128 d16a8df4d322
child 130 38421cd7c8ff
Some bugs fixed
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Sun Dec 09 17:14:14 2007 +0100
+++ b/PLCOpenEditor.py	Sun Dec 09 19:01:36 2007 +0100
@@ -1189,6 +1189,7 @@
             elif data == ITEM_ACTION:
                 tagname = self.Controler.ComputePouActionName(pou_name, name)
             self.EditProjectElement(data, tagname)
+        event.Skip()
     
     def OnProjectTreeLeftUp(self, event):
         if self.SelectedItem is not None:
@@ -1322,6 +1323,7 @@
                 if window.GetTagName() == tagname:
                     self.SetPageSelection(i)
                     window.RefreshView()
+                    window.SetFocus()
                     self.RefreshPageTitles()
                     self.RefreshFileMenu()
                     self.RefreshEditMenu()