forked from Public/monero-gui
Merge pull request #1091
89ec822removed persistentSettings.startLocalNode as it's synonym for !persistentSettings.useRemoteNodeaf882e8rectified visual switch between local node & remote nodefd1f4bfBootstrap daemon (requires #3165)
This commit is contained in:
6
main.qml
6
main.qml
@@ -436,7 +436,7 @@ ApplicationWindow {
|
||||
if(localNodeConnected) {
|
||||
leftPanel.progressBar.updateProgress(walletManager.blockchainHeight(),walletManager.blockchainTargetHeight(), 0, qsTr("Remaining blocks (local node):"));
|
||||
leftPanel.progressBar.visible = true
|
||||
} else if (persistentSettings.startLocalNode && !startLocalNodeCancelled) {
|
||||
} else if (!persistentSettings.useRemoteNode && !startLocalNodeCancelled) {
|
||||
daemonManagerDialog.open()
|
||||
}
|
||||
|
||||
@@ -478,7 +478,7 @@ ApplicationWindow {
|
||||
currentWallet.pauseRefresh();
|
||||
|
||||
appWindow.showProcessingSplash(qsTr("Waiting for daemon to start..."))
|
||||
daemonManager.start(flags, persistentSettings.testnet, persistentSettings.blockchainDataDir);
|
||||
daemonManager.start(flags, persistentSettings.testnet, persistentSettings.blockchainDataDir, persistentSettings.bootstrapNodeAddress);
|
||||
persistentSettings.daemonFlags = flags
|
||||
}
|
||||
|
||||
@@ -1004,9 +1004,9 @@ ApplicationWindow {
|
||||
property string daemonPassword: ""
|
||||
property bool transferShowAdvanced: false
|
||||
property string blockchainDataDir: ""
|
||||
property bool startLocalNode: true
|
||||
property bool useRemoteNode: false
|
||||
property string remoteNodeAddress: ""
|
||||
property string bootstrapNodeAddress: ""
|
||||
}
|
||||
|
||||
// Information dialog
|
||||
|
||||
Reference in New Issue
Block a user