commit 5e61ff18ac29ae303fbb0d9479d2824d7fcaf6ec
parent 621a3abf6feee9aac4bbd59b409b9edfe669e1b2
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 3 Sep 2017 06:25:50 +0200
fix #2834
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py
@@ -106,7 +106,7 @@ class HistoryList(MyTreeWidget):
if i!=2:
item.setFont(i, QFont(MONOSPACE_FONT))
item.setTextAlignment(i, Qt.AlignVCenter)
- if value < 0:
+ if value and value < 0:
item.setForeground(3, QBrush(QColor("#BC1E1E")))
item.setForeground(4, QBrush(QColor("#BC1E1E")))
if tx_hash: