|
|
@ -391,10 +391,9 @@ QString TransactionTableModel::formatTxToAddress(const TransactionRecord *wtx, b |
|
|
|
case TransactionRecord::SendToIP: |
|
|
|
case TransactionRecord::SendToIP: |
|
|
|
return QString::fromStdString(wtx->address); |
|
|
|
return QString::fromStdString(wtx->address); |
|
|
|
case TransactionRecord::SendToSelf: |
|
|
|
case TransactionRecord::SendToSelf: |
|
|
|
return QString(); |
|
|
|
|
|
|
|
case TransactionRecord::Generated: |
|
|
|
case TransactionRecord::Generated: |
|
|
|
default: |
|
|
|
default: |
|
|
|
return QString(); |
|
|
|
return tr("(n/a)"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -410,6 +409,9 @@ QVariant TransactionTableModel::addressColor(const TransactionRecord *wtx) const |
|
|
|
if(label.isEmpty()) |
|
|
|
if(label.isEmpty()) |
|
|
|
return COLOR_BAREADDRESS; |
|
|
|
return COLOR_BAREADDRESS; |
|
|
|
} break; |
|
|
|
} break; |
|
|
|
|
|
|
|
case TransactionRecord::SendToSelf: |
|
|
|
|
|
|
|
case TransactionRecord::Generated: |
|
|
|
|
|
|
|
return COLOR_BAREADDRESS; |
|
|
|
default: |
|
|
|
default: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|