--- a/Beremiz.py Wed Oct 07 09:03:15 2009 +0200
+++ b/Beremiz.py Thu Oct 08 11:01:19 2009 +0200
@@ -394,9 +394,14 @@
if projectOpen is not None and os.path.isdir(projectOpen):
self.PluginRoot = PluginsRoot(self, self.Log)
self.Controler = self.PluginRoot
- self.PluginRoot.LoadProject(projectOpen, buildpath)
- self._Refresh(TYPESTREE, INSTANCESTREE, LIBRARYTREE)
+ result = self.PluginRoot.LoadProject(projectOpen, buildpath) + self.DebugVariablePanel.SetDataProducer(self.PluginRoot) + self._Refresh(TYPESTREE, INSTANCESTREE, LIBRARYTREE) + self.ShowErrorMessage(result) @@ -1298,6 +1303,7 @@
self._Refresh(TYPESTREE, INSTANCESTREE, LIBRARYTREE)
self.ShowErrorMessage(result)
self._Refresh(TITLE, TOOLBAR, FILEMENU, EDITMENU)
@@ -1323,6 +1329,7 @@
self._Refresh(TYPESTREE, INSTANCESTREE, LIBRARYTREE)
self.ShowErrorMessage(result)
self.ShowErrorMessage(_("\"%s\" folder is not a valid Beremiz project\n") % projectpath)