mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-14 20:36: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) {
|
if(localNodeConnected) {
|
||||||
leftPanel.progressBar.updateProgress(walletManager.blockchainHeight(),walletManager.blockchainTargetHeight(), 0, qsTr("Remaining blocks (local node):"));
|
leftPanel.progressBar.updateProgress(walletManager.blockchainHeight(),walletManager.blockchainTargetHeight(), 0, qsTr("Remaining blocks (local node):"));
|
||||||
leftPanel.progressBar.visible = true
|
leftPanel.progressBar.visible = true
|
||||||
} else if (persistentSettings.startLocalNode && !startLocalNodeCancelled) {
|
} else if (!persistentSettings.useRemoteNode && !startLocalNodeCancelled) {
|
||||||
daemonManagerDialog.open()
|
daemonManagerDialog.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1004,7 +1004,6 @@ ApplicationWindow {
|
|||||||
property string daemonPassword: ""
|
property string daemonPassword: ""
|
||||||
property bool transferShowAdvanced: false
|
property bool transferShowAdvanced: false
|
||||||
property string blockchainDataDir: ""
|
property string blockchainDataDir: ""
|
||||||
property bool startLocalNode: true
|
|
||||||
property bool useRemoteNode: false
|
property bool useRemoteNode: false
|
||||||
property string remoteNodeAddress: ""
|
property string remoteNodeAddress: ""
|
||||||
}
|
}
|
||||||
|
@ -296,7 +296,7 @@ Rectangle {
|
|||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: blockchainFolderRow
|
id: blockchainFolderRow
|
||||||
visible: !isMobile
|
visible: !isMobile && !persistentSettings.useRemoteNode
|
||||||
Label {
|
Label {
|
||||||
id: blockchainFolderLabel
|
id: blockchainFolderLabel
|
||||||
color: "#4A4949"
|
color: "#4A4949"
|
||||||
|
@ -54,7 +54,6 @@ ColumnLayout {
|
|||||||
|
|
||||||
function onPageClosed(settingsObject) {
|
function onPageClosed(settingsObject) {
|
||||||
appWindow.persistentSettings.useRemoteNode = remoteNode.checked
|
appWindow.persistentSettings.useRemoteNode = remoteNode.checked
|
||||||
appWindow.persistentSettings.startLocalNode = localNode.checked
|
|
||||||
appWindow.persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress();
|
appWindow.persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress();
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
@ -129,7 +128,7 @@ ColumnLayout {
|
|||||||
fontSize: 16 * scaleRatio
|
fontSize: 16 * scaleRatio
|
||||||
checkedIcon: "../images/checkedVioletIcon.png"
|
checkedIcon: "../images/checkedVioletIcon.png"
|
||||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||||
checked: appWindow.persistentSettings.startLocalNode && !isAndroid && !isIOS
|
checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS
|
||||||
visible: !isAndroid && !isIOS
|
visible: !isAndroid && !isIOS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user