LPCBeremiz.py
changeset 599 c7be4d09c5f4
parent 598 6c919bc1551d
child 625 08d4cc1ceb9b
equal deleted inserted replaced
598:6c919bc1551d 599:c7be4d09c5f4
   442             return self.SimulationBuildPath
   442             return self.SimulationBuildPath
   443         else:
   443         else:
   444             return PluginsRoot._getBuildPath(self)
   444             return PluginsRoot._getBuildPath(self)
   445 
   445 
   446     def _build(self):
   446     def _build(self):
       
   447         save = self.ProjectTestModified()
       
   448         if save:
       
   449             self.SaveProject()
       
   450             self.AppFrame._Refresh(TITLE, FILEMENU)
   447         if self.BuildPath is not None:
   451         if self.BuildPath is not None:
   448             mycopytree(self.OrigBuildPath, self.BuildPath)
   452             mycopytree(self.OrigBuildPath, self.BuildPath)
   449         PluginsRoot._build(self)
   453         PluginsRoot._build(self)
       
   454         if save:
       
   455             wx.CallAfter(self.AppFrame.RefreshAll)
   450     
   456     
   451     def SetProjectName(self, name):
   457     def SetProjectName(self, name):
   452         return self.Project.setname(name)
   458         return self.Project.setname(name)
   453 
   459 
   454     def SetOnlineMode(self, mode, path=None):
   460     def SetOnlineMode(self, mode, path=None):