Session word count should just be a +/- number in brackets
This commit is contained in:
+5
-5
@@ -212,7 +212,7 @@ class GuiMainStatus(QStatusBar):
|
|||||||
sWC = self.sessWords,
|
sWC = self.sessWords,
|
||||||
))
|
))
|
||||||
self.statsText.setText((
|
self.statsText.setText((
|
||||||
"D:{wC:n} P:{pWC:n} S:{sWC:n}"
|
"D:{wC:n} P:{pWC:n} ({sWC:+n})"
|
||||||
).format(
|
).format(
|
||||||
wC = self.wordCount,
|
wC = self.wordCount,
|
||||||
pWC = self.projWords,
|
pWC = self.projWords,
|
||||||
@@ -243,10 +243,10 @@ class StatusLED(QAbstractButton):
|
|||||||
def __init__(self, colNone, colTrue, colFalse, sW, sH, parent=None):
|
def __init__(self, colNone, colTrue, colFalse, sW, sH, parent=None):
|
||||||
super().__init__(parent=parent)
|
super().__init__(parent=parent)
|
||||||
|
|
||||||
self.colNone = colNone
|
self.colNone = colNone
|
||||||
self.colTrue = colTrue
|
self.colTrue = colTrue
|
||||||
self.colFalse = colFalse
|
self.colFalse = colFalse
|
||||||
self._theCol = colNone
|
self._theCol = colNone
|
||||||
|
|
||||||
self.setFixedWidth(sW)
|
self.setFixedWidth(sW)
|
||||||
self.setFixedHeight(sH)
|
self.setFixedHeight(sH)
|
||||||
|
|||||||
Reference in New Issue
Block a user