Clean up the index code a bit and add index validation
This commit is contained in:
@@ -123,15 +123,15 @@ class NWProject():
|
||||
##
|
||||
|
||||
@property
|
||||
def index(self) -> NWIndex:
|
||||
def index(self):
|
||||
return self._projIndex
|
||||
|
||||
@property
|
||||
def tree(self) -> NWTree:
|
||||
def tree(self):
|
||||
return self._projTree
|
||||
|
||||
@property
|
||||
def options(self) -> OptionState:
|
||||
def options(self):
|
||||
return self._optState
|
||||
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user