Label colour - History Window

Set colour of label for outgoing transactions to match the colour of the
value field (red)
This commit is contained in:
The Phez 2016-03-25 10:01:48 -04:00
parent 94dbfe6791
commit c1230cf270
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class HistoryWidget(MyTreeWidget):
if i!=2:
item.setFont(i, QFont(MONOSPACE_FONT))
if value < 0:
item.setForeground(3, QBrush(QColor("#BC1E1E")))
item.setForeground(4, QBrush(QColor("#BC1E1E")))
if tx_hash:
item.setData(0, Qt.UserRole, tx_hash)