Support for auto open project

This commit is contained in:
Julien Duponchelle committed 2016-08-15 20:51:59 +02:00
1 parent e710eff22e
commit 0613efa297
4 files changed
+72 -3

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ class Controller:
self.remove_project(self._projects[topo_data["project_id"]])
project = yield from self.add_project(path=os.path.dirname(path), status="closed", filename=os.path.basename(path), **topo_data)
if load:
if load or project.auto_open:
yield from project.open()
return project