Move the hasProject logic into the shared class

This commit is contained in:
Veronica Berglyd Olsen
2023-08-13 19:23:32 +02:00
parent fd181b18a6
commit 8154293d92
8 changed files with 71 additions and 55 deletions
+1 -1
View File
@@ -204,9 +204,9 @@ def buildTestProject(obj, projPath):
project.session.startSession()
project.setProjectChanged(True)
project.saveProject(autoSave=True)
project._valid = True
if nwGUI is not None:
nwGUI.hasProject = True
nwGUI.rebuildTrees()
return