|
@ -201,7 +201,7 @@ class HistoryModel(QAbstractItemModel, Logger): |
|
|
# and self.parent.wallet.invoices.paid.get(tx_hash): |
|
|
# and self.parent.wallet.invoices.paid.get(tx_hash): |
|
|
# return QVariant(read_QIcon("seal")) |
|
|
# return QVariant(read_QIcon("seal")) |
|
|
elif col in (HistoryColumns.DESCRIPTION, HistoryColumns.AMOUNT) \ |
|
|
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")) |
|
|
red_brush = QBrush(QColor("#BC1E1E")) |
|
|
return QVariant(red_brush) |
|
|
return QVariant(red_brush) |
|
|
elif col == HistoryColumns.FIAT_VALUE and role == Qt.ForegroundRole \ |
|
|
elif col == HistoryColumns.FIAT_VALUE and role == Qt.ForegroundRole \ |
|
|