--- a/Beremiz.py Thu Sep 03 11:28:46 2009 +0200
+++ b/Beremiz.py Thu Sep 03 12:09:39 2009 +0200
@@ -1252,6 +1252,9 @@
config.Write("lastopenedfolder", os.path.dirname(projectpath))
+ if self.PluginRoot is not None: + self.PluginRoot.CloseProject() self.PluginRoot = PluginsRoot(self, self.Log)
res = self.PluginRoot.NewProject(projectpath)
@@ -1275,6 +1278,9 @@
if os.path.isdir(projectpath):
config.Write("lastopenedfolder", os.path.dirname(projectpath))
+ if self.PluginRoot is not None: + self.PluginRoot.CloseProject() self.PluginRoot = PluginsRoot(self, self.Log)
result = self.PluginRoot.LoadProject(projectpath)