--- a/LPCManager.py Fri Sep 07 20:11:05 2012 +0200
+++ b/LPCManager.py Tue Sep 25 13:06:59 2012 +0200
@@ -826,6 +826,17 @@
self.Project.removeVariableByFilter(leading)
+ def AddProjectDefaultConfiguration(self, config_name="config", res_name="resource1"): + ProjectController.AddProjectDefaultConfiguration(self, config_name, res_name) + self.SetEditedResourceInfos( + self.ComputeConfigurationResourceName(config_name, res_name), + "Triggering": "Cyclic", def LoadProject(self, ProjectPath, BuildPath=None):
Load a project contained in a folder
@@ -848,6 +859,8 @@
+ if len(self.GetProjectConfigNames()) == 0: + self.AddProjectDefaultConfiguration() # Change XSD into class members
@@ -1877,7 +1890,7 @@
- frame._Refresh(TITLE, POUINSTANCEVARIABLESPANEL, FILEMENU, EDITMENU)
+ frame._Refresh(TITLE, PROJECTTREE, POUINSTANCEVARIABLESPANEL, FILEMENU, EDITMENU)