From 5e61ff18ac29ae303fbb0d9479d2824d7fcaf6ec Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 3 Sep 2017 06:25:50 +0200 Subject: [PATCH] fix #2834 --- gui/qt/history_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py index 74304802..56ac03bf 100644 --- 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: