Building a simple index now works
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user