From 669f013c96663454f5ce705f0f7511339613005d Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sun, 15 Aug 2021 21:40:45 +0200 Subject: [PATCH] Fix issue with icons not updating when index is rebuilt (#849) --- nw/guimain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nw/guimain.py b/nw/guimain.py index 81c8663e..0e79a89e 100644 --- a/nw/guimain.py +++ b/nw/guimain.py @@ -900,6 +900,7 @@ class GuiMain(QMainWindow): tItem.setWordCount(wC) tItem.setParaCount(pC) self.treeView.propagateCount(tItem.itemHandle, wC) + self.treeView.setTreeItemValues(tItem.itemHandle) self.treeView.projectWordCount() tEnd = time()