Fix initial setting of project word count

This commit is contained in:
Veronica K. B. Olsen
2021-01-09 20:07:09 +01:00
parent 7c643ea698
commit a6cbdfc559
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -428,6 +428,7 @@ class GuiMain(QMainWindow):
self.docEditor.setSpellCheck(self.theProject.spellCheck)
self.mainMenu.setAutoOutline(self.theProject.autoOutline)
self.statusBar.setRefTime(self.theProject.projOpened)
self.statusBar.setStats(self.theProject.currWCount, 0)
# Restore previously open documents, if any
if self.theProject.lastEdited is not None: