Fixed bug no contextual menu displayed in left panel tree when creating new project
authorLaurent Bessard
Thu, 29 Aug 2013 19:20:14 +0200
changeset 1295 2ad168756c5e
parent 1294 f02ba5b83811
child 1296 5f8e02717560
Fixed bug no contextual menu displayed in left panel tree when creating new project
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Thu Aug 29 19:18:41 2013 +0200
+++ b/PLCOpenEditor.py	Thu Aug 29 19:20:14 2013 +0200
@@ -276,6 +276,7 @@
             self.Controler = PLCControler()
             self.Controler.CreateNewProject(properties)
             self.LibraryPanel.SetController(self.Controler)
+            self.ProjectTree.Enable(True)
             self._Refresh(TITLE, FILEMENU, EDITMENU, PROJECTTREE, POUINSTANCEVARIABLESPANEL, 
                           LIBRARYTREE)