From 251db8060919163357d175369266c086ff86426f Mon Sep 17 00:00:00 2001 From: cryptochangements34 Date: Sat, 14 Apr 2018 23:33:51 -0400 Subject: [PATCH] show correct address in wizard if remote node used --- wizard/WizardFinish.qml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wizard/WizardFinish.qml b/wizard/WizardFinish.qml index a25fc1c1..6f0443a9 100644 --- a/wizard/WizardFinish.qml +++ b/wizard/WizardFinish.qml @@ -55,6 +55,12 @@ ColumnLayout { networkText = nettype == NetworkType.TESTNET ? qsTr("Testnet") : nettype == NetworkType.STAGENET ? qsTr("Stagenet") : qsTr("Mainnet"), restoreHeightEnabled = wizard.settings['restore_height'] !== undefined; + var daemonAddress = persistentSettings.daemon_address; + if(persistentSettings.useRemoteNode) + { + daemonAddress = persistentSettings.remoteNodeAddress; + } + return "" + trStart + qsTr("Language") + trMiddle + wizard.settings["language"] + trEnd + trStart + qsTr("Wallet name") + trMiddle + wizard.settings["account_name"] + trEnd @@ -67,7 +73,7 @@ ColumnLayout { // ? trStart + qsTr("Donation amount") + trMiddle + autoDonationAmount + trEnd // : "") // + trStart + qsTr("Background mining") + trMiddle + backgroundMiningText + trEnd - + trStart + qsTr("Daemon address") + trMiddle + persistentSettings.daemon_address + trEnd + + trStart + qsTr("Daemon address") + trMiddle + daemonAddress + trEnd + trStart + qsTr("Network Type") + trMiddle + networkText + trEnd + (restoreHeightEnabled ? trStart + qsTr("Restore height") + trMiddle + wizard.settings['restore_height'] + trEnd