Building a simple index now works

This commit is contained in:
Veronica K. B. Olsen
2019-05-27 22:28:58 +02:00
parent db2b95e4a5
commit ccef2a1e51
6 changed files with 86 additions and 10 deletions
+5
View File
@@ -21,6 +21,7 @@ from time import time
from nw.project.item import NWItem
from nw.project.status import NWStatus
from nw.project.index import NWIndex
from nw.enum import nwItemType, nwItemClass, nwItemLayout, nwAlert
from nw.common import checkString, checkBool, checkInt
from nw.constants import nwFiles
@@ -64,6 +65,9 @@ class NWProject():
self.lastWCount = 0
self.currWCount = 0
# Index
self.theIndex = None
# Set Defaults
self.clearProject()
@@ -165,6 +169,7 @@ class NWProject():
self.lastViewed = None
self.lastWCount = 0
self.currWCount = 0
self.theIndex = NWIndex(self, self.theParent)
return