Replaces numbered place marker %2 with %1.

Replaces numbered place marker %2 with %1, because the QString::arg() member function is called once on the string used to create the QString object.
pull/476/merge
251 7 years ago
parent ddff3447f2
commit 8a93543419

@ -336,7 +336,7 @@ void SendCoinsDialog::on_sendButton_clicked()
}
questionString.append(tr("Total Amount %1")
.arg(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount)));
questionString.append(QString("<span style='font-size:10pt;font-weight:normal;'><br />(=%2)</span>")
questionString.append(QString("<span style='font-size:10pt;font-weight:normal;'><br />(=%1)</span>")
.arg(alternativeUnits.join(" " + tr("or") + "<br />")));
questionString.append("<hr /><span>");

Loading…
Cancel
Save