commit 3083237363a3a31c5304e9dec6730da54c647844
parent e74f7e7b42aedaf862cd937bf64c3193910dbc47
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 17 Nov 2019 13:58:16 +0100
Merge pull request #5768 from lukechilds/ln-negative-red
Show outgoing Lightning payments with red description
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py
@@ -201,7 +201,7 @@ class HistoryModel(QAbstractItemModel, Logger):
# and self.parent.wallet.invoices.paid.get(tx_hash):
# return QVariant(read_QIcon("seal"))
elif col in (HistoryColumns.DESCRIPTION, HistoryColumns.AMOUNT) \
- and role == Qt.ForegroundRole and not is_lightning and tx_item['value'].value < 0:
+ and role == Qt.ForegroundRole and tx_item['value'].value < 0:
red_brush = QBrush(QColor("#BC1E1E"))
return QVariant(red_brush)
elif col == HistoryColumns.FIAT_VALUE and role == Qt.ForegroundRole \