tQt history: Do not use monospace font for description column - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 1e9230712062589e312d548b45bef7a13fa6c691
DIR parent 3c111471e9bed1f8e0df43928435cc56a4fd3309
HTML 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:
M electrum/gui/qt/history_list.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py
t@@ -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\