history: add option to show full txid

This commit is contained in:
tobtoht
2023-12-30 16:46:14 +01:00
parent 7e19d52788
commit 0ba22ea05b
5 changed files with 26 additions and 1 deletions
+3
View File
@@ -163,6 +163,9 @@ QVariant TransactionHistoryModel::parseTransactionInfo(const TransactionRow &tIn
return amount;
}
case Column::TxID: {
if (conf()->get(Config::historyShowFullTxid).toBool()) {
return tInfo.hash();
}
return Utils::displayAddress(tInfo.hash(), 1);
}
case Column::FiatAmount: