Session word count should just be a +/- number in brackets

This commit is contained in:
Veronica K. B. Olsen
2020-05-21 19:56:31 +02:00
parent 0bbd7de805
commit cc340d721b
+5 -5
View File
@@ -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)