Add a main count setting and use it for the project tree
This commit is contained in:
@@ -164,6 +164,10 @@ class NWItem:
|
||||
def paraCount(self) -> int:
|
||||
return self._paraCount
|
||||
|
||||
@property
|
||||
def mainCount(self) -> int:
|
||||
return self._charCount if CONFIG.useCharCount else self._wordCount
|
||||
|
||||
@property
|
||||
def initCount(self) -> int:
|
||||
return self._initCount
|
||||
|
||||
Reference in New Issue
Block a user