Some reorganisation of how stuff is opened and closed.

This commit is contained in:
Veronica K. B. Olsen
2019-05-26 15:34:34 +02:00
parent 367d2c5014
commit 76cb03fad8
6 changed files with 52 additions and 45 deletions
+2 -2
View File
@@ -123,14 +123,14 @@ class NWProject():
##
def newProject(self):
hNovel = self.newRoot("Novel", nwItemClass.NOVEL)
hChars = self.newRoot("Characters", nwItemClass.CHARACTER)
hWorld = self.newRoot("Plot", nwItemClass.PLOT)
hWorld = self.newRoot("World", nwItemClass.WORLD)
hChapt = self.newFolder("New Chapter", nwItemClass.NOVEL, hNovel)
hScene = self.newFile("New Scene", nwItemClass.NOVEL, hChapt)
self.projOpened = time()
self.setProjectChanged(True)
return True
def clearProject(self):