Process field values in QTextDocuments

This commit is contained in:
Veronica Berglyd Olsen
2024-10-28 17:30:34 +01:00
parent 041183f914
commit f92521c93a
13 changed files with 50 additions and 22 deletions
+1 -1
View File
@@ -955,7 +955,7 @@ class _StatsWidget(QWidget):
# Maximal
self.maxTotalWords.setText("{0:n}".format(data.get(nwStats.WORDS_ALL, 0)))
self.maxHeadWords.setText("{0:n}".format(data.get(nwStats.WORDS_TITLE, 0)))
self.maxTextWords.setText("{0:n}".format(data.get(nwStats.WORDS_TITLE, 0)))
self.maxTextWords.setText("{0:n}".format(data.get(nwStats.WORDS_TEXT, 0)))
self.maxTitleCount.setText("{0:n}".format(data.get(nwStats.TITLES, 0)))
self.maxParCount.setText("{0:n}".format(data.get(nwStats.PARAGRAPHS, 0)))