This commit is contained in:
DenioD
2019-10-27 20:27:32 +01:00
4 changed files with 4 additions and 8 deletions

View File

@@ -150,14 +150,14 @@ bool TxTableModel::exportToCsv(QString fileName) const {
}
}
if (role == Qt::DecorationRole && index.column() == 0) {
if (role == Qt::DecorationRole && index.column() == 0) {
bool hasMemo = false;
for (int i=0; i < dat.items.length(); i++) {
if (!dat.items[i].memo.isEmpty()) {
hasMemo = true;
}
}
// If the memo is a Payment URI, then show a payment request icon
if (dat.items.length() == 1 && dat.items[0].memo.startsWith("hush:")) {
QIcon icon(":/icons/res/paymentreq.gif");