From: tobtoht Date: Thu, 8 Jul 2021 11:09:49 +0000 (+0200) Subject: History: use monospace for txid column X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=86e81ca3fc4f5759ff86501ff4a6aa08beee2cc5;p=gamesguru%2Ffeather.git History: use monospace for txid column --- diff --git a/src/model/TransactionHistoryModel.cpp b/src/model/TransactionHistoryModel.cpp index 0374cf17..2265a3e9 100644 --- a/src/model/TransactionHistoryModel.cpp +++ b/src/model/TransactionHistoryModel.cpp @@ -123,6 +123,14 @@ QVariant TransactionHistoryModel::data(const QModelIndex &index, int role) const } } } + else if (role == Qt::FontRole) { + switch(index.column()) { + case Column::TxID: + { + result = ModelUtils::getMonospaceFont(); + } + } + } }); if (!found) {