Skip to content

Commit

Permalink
Merge pull request #468 from crowning-/UI_Enhancements
Browse files Browse the repository at this point in the history
UI: "Confirm send coins" popup beautified
  • Loading branch information
UdjinM6 committed Aug 2, 2015
2 parents 718c7f1 + efc74b2 commit b8dbdb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/qt/sendcoinsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,11 @@ void SendCoinsDialog::send(QList<SendCoinsRecipient> recipients, QString strFee,
if(u != model->getOptionsModel()->getDisplayUnit())
alternativeUnits.append(BitcoinUnits::formatHtmlWithUnit(u, totalAmount));
}
questionString.append(tr("Total Amount %1 (= %2)")

// Show total amount + all alternative units
questionString.append(tr("Total Amount = <b>%1</b><br />= %2")
.arg(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount))
.arg("<br />" + alternativeUnits.join(" " + tr("or") + "<br />")));
.arg(alternativeUnits.join("<br />= ")));

// Limit number of displayed entries
int messageEntries = formatted.size();
Expand Down

0 comments on commit b8dbdb3

Please sign in to comment.