mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
removed an ugly line break in a transaction tooltip for case TransactionStatus::Mature
This commit is contained in:
parent
8d29329f93
commit
0b637e0b86
@ -288,20 +288,19 @@ QString TransactionTableModel::formatTxStatus(const TransactionRecord *wtx) cons
|
||||
}
|
||||
if(wtx->type == TransactionRecord::Generated)
|
||||
{
|
||||
status += "\n";
|
||||
switch(wtx->status.maturity)
|
||||
{
|
||||
case TransactionStatus::Immature:
|
||||
status += tr("Mined balance will be available in %n more blocks", "",
|
||||
status += "\n" + tr("Mined balance will be available in %n more blocks", "",
|
||||
wtx->status.matures_in);
|
||||
break;
|
||||
case TransactionStatus::Mature:
|
||||
break;
|
||||
case TransactionStatus::MaturesWarning:
|
||||
status += tr("This block was not received by any other nodes and will probably not be accepted!");
|
||||
status += "\n" + tr("This block was not received by any other nodes and will probably not be accepted!");
|
||||
break;
|
||||
case TransactionStatus::NotAccepted:
|
||||
status += tr("Generated but not accepted");
|
||||
status += "\n" + tr("Generated but not accepted");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user