1
0

show history debits in red

This commit is contained in:
bkkcoins
2013-01-04 12:25:29 +07:00
parent 2ae5f0940a
commit 47145ce1a6
3 changed files with 5 additions and 1 deletions

View File

@@ -20,5 +20,7 @@ class HistoryWidget(QTreeWidget):
if date is None:
date = "Unknown"
item = QTreeWidgetItem([amount, address, date])
if float(amount) < 0:
item.setForeground(0, QBrush(QColor("#BC1E1E")))
self.insertTopLevelItem(0, item)