mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
removed persistentSettings.startLocalNode as it's synonym for !persistentSettings.useRemoteNode
This commit is contained in:
parent
5c664685da
commit
89ec822ba5
3
main.qml
3
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()
|
||||
}
|
||||
|
||||
@ -1004,7 +1004,6 @@ ApplicationWindow {
|
||||
property string daemonPassword: ""
|
||||
property bool transferShowAdvanced: false
|
||||
property string blockchainDataDir: ""
|
||||
property bool startLocalNode: true
|
||||
property bool useRemoteNode: false
|
||||
property string remoteNodeAddress: ""
|
||||
}
|
||||
|
@ -296,7 +296,7 @@ Rectangle {
|
||||
|
||||
ColumnLayout {
|
||||
id: blockchainFolderRow
|
||||
visible: !isMobile
|
||||
visible: !isMobile && !persistentSettings.useRemoteNode
|
||||
Label {
|
||||
id: blockchainFolderLabel
|
||||
color: "#4A4949"
|
||||
|
@ -54,7 +54,6 @@ ColumnLayout {
|
||||
|
||||
function onPageClosed(settingsObject) {
|
||||
appWindow.persistentSettings.useRemoteNode = remoteNode.checked
|
||||
appWindow.persistentSettings.startLocalNode = localNode.checked
|
||||
appWindow.persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress();
|
||||
return true
|
||||
}
|
||||
@ -129,7 +128,7 @@ ColumnLayout {
|
||||
fontSize: 16 * scaleRatio
|
||||
checkedIcon: "../images/checkedVioletIcon.png"
|
||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||
checked: appWindow.persistentSettings.startLocalNode && !isAndroid && !isIOS
|
||||
checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS
|
||||
visible: !isAndroid && !isIOS
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user