Fix bug in options file conversion

This commit is contained in:
Veronica Berglyd Olsen
2023-06-15 23:54:16 +02:00
parent 6193e3191b
commit a3f0d5b865
3 changed files with 15 additions and 13 deletions
+1 -2
View File
@@ -255,14 +255,13 @@ class NWProject(QObject):
build the tree of project items.
"""
self.clearProject()
logger.info("Opening project: %s", projPath)
if not self._storage.openProjectInPlace(projPath):
self.mainGui.makeAlert(self.tr(
"Could not open project with path: {0}"
).format(projPath), nwAlert.ERROR)
return False
logger.info("Opening project: %s", projPath)
# Project Lock
# ============