Correctly reopen projects on startup.

looper
Ben Niemann 6 years ago
parent 71dfd83ef4
commit d6cbd3e0a9

@ -6,8 +6,6 @@ That used to work better...
- pipeline thread increments counter on every iteration
- watchdog thread checks counter
- if not incremented for N * blocksize / samplerate, SIGABRT the process
* Previously opened projects are not rememebered correctly :BUG:
Seems to open 2nd most recent project.
* List of recently opened projects :FR:
use xdg function to store projects
http://pyxdg.readthedocs.io/en/latest/recentfiles.html

@ -252,11 +252,12 @@ class BaseEditorApp(QtWidgets.QApplication):
async def addProject(self, project_connection):
await self.win.addProjectView(project_connection)
self._updateOpenedProjects()
async def removeProject(self, project_connection):
await self.win.removeProjectView(project_connection)
self._updateOpenedProjects()
await self.project_registry.close_project(project_connection)
self._updateOpenedProjects()
def onPipelineStatus(self, status):
pass

Loading…
Cancel
Save