From cc340d721b45d1750dd6e40e868fcf617733dfe6 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 21 May 2020 19:56:31 +0200 Subject: [PATCH] Session word count should just be a +/- number in brackets --- nw/gui/statusbar.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nw/gui/statusbar.py b/nw/gui/statusbar.py index 6d104357..0d2643c6 100644 --- a/nw/gui/statusbar.py +++ b/nw/gui/statusbar.py @@ -212,7 +212,7 @@ class GuiMainStatus(QStatusBar): sWC = self.sessWords, )) self.statsText.setText(( - "D:{wC:n} P:{pWC:n} S:{sWC:n}" + "D:{wC:n} P:{pWC:n} ({sWC:+n})" ).format( wC = self.wordCount, pWC = self.projWords, @@ -243,10 +243,10 @@ class StatusLED(QAbstractButton): def __init__(self, colNone, colTrue, colFalse, sW, sH, parent=None): super().__init__(parent=parent) - self.colNone = colNone - self.colTrue = colTrue - self.colFalse = colFalse - self._theCol = colNone + self.colNone = colNone + self.colTrue = colTrue + self.colFalse = colFalse + self._theCol = colNone self.setFixedWidth(sW) self.setFixedHeight(sH)