Do not reload a project if project is already opened

Ref https://github.com/GNS3/gns3-gui/issues/1251
This commit is contained in:
Julien Duponchelle committed 2016-06-17 17:50:06 +02:00
1 parent 4783691c87
commit 3132d51694
4 files changed
+34 -1

No files matched your search

+3
View File
@@ -337,6 +337,9 @@ class Project:
"""
Load topology elements
"""
if self._status == "opened":
return
self.reset()
path = self._topology_file()
if os.path.exists(path):