From 09e521c2c23916cd2b038d55bd69ac2f1544b01d Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:57:14 +0100 Subject: [PATCH] Make writing stats word calculation more intuitive --- nw/gui/writingstats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nw/gui/writingstats.py b/nw/gui/writingstats.py index 0b5aaabb..2b675c7c 100644 --- a/nw/gui/writingstats.py +++ b/nw/gui/writingstats.py @@ -514,6 +514,7 @@ class GuiWritingStats(QDialog): if hideZeros and dwTotal == 0: continue if hideNegative and dwTotal < 0: + pcTotal = wcTotal continue if isFirst: