equal
deleted
inserted
replaced
322 self.Log = LogPseudoFile(self.LogConsole) |
322 self.Log = LogPseudoFile(self.LogConsole) |
323 |
323 |
324 self.PluginRoot = PluginsRoot(self) |
324 self.PluginRoot = PluginsRoot(self) |
325 |
325 |
326 if projectOpen: |
326 if projectOpen: |
327 self.PluginRoot.LoadProject(projectOpen) |
327 self.PluginRoot.LoadProject(projectOpen, self.Log) |
328 self.RefreshPluginTree() |
328 self.RefreshPluginTree() |
329 |
329 |
330 self.RefreshPluginParams() |
330 self.RefreshPluginParams() |
331 self.RefreshButtons() |
331 self.RefreshButtons() |
332 self.RefreshMainMenu() |
332 self.RefreshMainMenu() |
662 defaultpath = os.getcwd() |
662 defaultpath = os.getcwd() |
663 dialog = wx.DirDialog(self , "Choose a project", defaultpath, wx.DD_NEW_DIR_BUTTON) |
663 dialog = wx.DirDialog(self , "Choose a project", defaultpath, wx.DD_NEW_DIR_BUTTON) |
664 if dialog.ShowModal() == wx.ID_OK: |
664 if dialog.ShowModal() == wx.ID_OK: |
665 projectpath = dialog.GetPath() |
665 projectpath = dialog.GetPath() |
666 if os.path.isdir(projectpath): |
666 if os.path.isdir(projectpath): |
667 result = self.PluginRoot.LoadProject(projectpath) |
667 result = self.PluginRoot.LoadProject(projectpath, self.Log) |
668 if not result: |
668 if not result: |
669 self.RefreshPluginTree() |
669 self.RefreshPluginTree() |
670 self.RefreshButtons() |
670 self.RefreshButtons() |
671 self.RefreshMainMenu() |
671 self.RefreshMainMenu() |
672 else: |
672 else: |