Browse Source

Qt history: Do not use monospace font for description column

hard-fail-on-bad-server-string
ThomasV 5 years ago
parent
commit
1e92307120
  1. 2
      electrum/gui/qt/history_list.py

2
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\

Loading…
Cancel
Save