commit 1e9230712062589e312d548b45bef7a13fa6c691
parent 3c111471e9bed1f8e0df43928435cc56a4fd3309
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 7 Mar 2020 10:44:09 +0100
Qt history: Do not use monospace font for description column
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py
@@ -194,7 +194,7 @@ class HistoryModel(QAbstractItemModel, Logger):
return QVariant(msg)
elif col > HistoryColumns.DESCRIPTION and role == Qt.TextAlignmentRole:
return QVariant(Qt.AlignRight | Qt.AlignVCenter)
- elif col != HistoryColumns.STATUS and role == Qt.FontRole:
+ elif col > HistoryColumns.DESCRIPTION and role == Qt.FontRole:
monospace_font = QFont(MONOSPACE_FONT)
return QVariant(monospace_font)
#elif col == HistoryColumns.DESCRIPTION and role == Qt.DecorationRole and not is_lightning\