Session word count now works

This commit is contained in:
Veronica K. B. Olsen
2019-05-25 23:24:30 +02:00
parent 9fc59262a9
commit 49ea321d92
2 changed files with 24 additions and 5 deletions
+3 -1
View File
@@ -293,7 +293,9 @@ class GuiDocTree(QTreeWidget):
if tItem == self.orphRoot:
continue
nWords += int(tItem.text(self.C_COUNT))
self.theParent.statusBar.setStats(nWords,0)
self.theProject.setProjectWordCount(nWords)
sWords = self.theProject.getSessionWordCount()
self.theParent.statusBar.setStats(nWords,sWords)
return
def buildTree(self):