Move new project tool to core tools (resolves #1152)

This commit is contained in:
Veronica Berglyd Olsen
2022-11-03 23:47:51 +01:00
parent bd81ea0880
commit 2e590b742f
10 changed files with 398 additions and 461 deletions
+1 -9
View File
@@ -168,15 +168,7 @@ def buildTestProject(theObject, projPath):
theProject.clearProject()
theProject.setProjectPath(projPath, newProject=True)
theProject.storage.openProjectInPlace(theProject.projPath)
theProject.data.itemStatus.write(None, "New", (100, 100, 100))
theProject.data.itemStatus.write(None, "Note", (200, 50, 0))
theProject.data.itemStatus.write(None, "Draft", (200, 150, 0))
theProject.data.itemStatus.write(None, "Finished", (50, 200, 0))
theProject.data.itemImport.write(None, "New", (100, 100, 100))
theProject.data.itemImport.write(None, "Minor", (200, 50, 0))
theProject.data.itemImport.write(None, "Major", (200, 150, 0))
theProject.data.itemImport.write(None, "Main", (50, 200, 0))
theProject.setDefaultStatusImport()
theProject.data.setName("New Project")
theProject.data.setTitle("New Novel")