Fixes transaction confirmation dialog and also makes sure you will not be able to transfer funds when the daemon is not up (to date)

This commit is contained in:
Sander Ferdinand
2018-03-27 21:12:10 +02:00
committed by moneromooo-monero
parent 9afaa7cf0f
commit 0b7966f625
2 changed files with 8 additions and 1 deletions

View File

@@ -611,6 +611,7 @@ ApplicationWindow {
// here we show confirmation popup;
transactionConfirmationPopup.title = qsTr("Please confirm transaction:\n") + translationManager.emptyString;
transactionConfirmationPopup.text = "";
transactionConfirmationPopup.text +=
(address === "" ? "" : (qsTr("\n\nAddress: ") + address))
+ (paymentId === "" ? "" : (qsTr("\nPayment ID: ") + paymentId))