diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-31 17:43:46 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-31 17:43:46 +0200 |
commit | d8f5c59a594f25d2e03616284068a1034fc5875b (patch) | |
tree | e968f6809514237a45413d9c04ea64fc42e88b87 /src/qt | |
parent | 05bcf7089e0da090db0b09a35b25f7a87c8ca1dd (diff) |
show n/a for mined transactions (and send to self) instead of empty field
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 58ec2c7ace..1606df9f5a 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -391,10 +391,9 @@ QString TransactionTableModel::formatTxToAddress(const TransactionRecord *wtx, b case TransactionRecord::SendToIP: return QString::fromStdString(wtx->address); case TransactionRecord::SendToSelf: - return QString(); case TransactionRecord::Generated: default: - return QString(); + return tr("(n/a)"); } } @@ -410,6 +409,9 @@ QVariant TransactionTableModel::addressColor(const TransactionRecord *wtx) const if(label.isEmpty()) return COLOR_BAREADDRESS; } break; + case TransactionRecord::SendToSelf: + case TransactionRecord::Generated: + return COLOR_BAREADDRESS; default: break; } |