Show outgoing Lightning paymenst with red description
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user