Qt history: Do not use monospace font for description column

This commit is contained in:
ThomasV 2020-03-07 10:44:09 +01:00
parent 3c111471e9
commit 1e92307120

View file

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