mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
rectified visual switch between local node & remote node
This commit is contained in:
parent
89ec822ba5
commit
af882e87f5
@ -248,7 +248,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
visible: !isMobile
|
||||
visible: !isMobile && !persistentSettings.useRemoteNode
|
||||
id: daemonStatusRow
|
||||
columns: (isMobile) ? 2 : 4
|
||||
StandardButton {
|
||||
@ -325,7 +325,7 @@ Rectangle {
|
||||
|
||||
|
||||
RowLayout {
|
||||
visible: daemonAdvanced.checked && !isMobile
|
||||
visible: daemonAdvanced.checked && !isMobile && !persistentSettings.useRemoteNode
|
||||
id: daemonFlagsRow
|
||||
Label {
|
||||
id: daemonFlagsLabel
|
||||
@ -343,7 +343,7 @@ Rectangle {
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
visible: daemonAdvanced.checked || isMobile
|
||||
visible: (daemonAdvanced.checked || isMobile) && persistentSettings.useRemoteNode
|
||||
Label {
|
||||
id: daemonLoginLabel
|
||||
Layout.fillWidth: true
|
||||
@ -354,7 +354,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
visible: daemonAdvanced.checked || isMobile
|
||||
visible: (daemonAdvanced.checked || isMobile) && persistentSettings.useRemoteNode
|
||||
LineEdit {
|
||||
id: daemonUsername
|
||||
Layout.preferredWidth: 100 * scaleRatio
|
||||
|
@ -130,6 +130,10 @@ ColumnLayout {
|
||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||
checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS
|
||||
visible: !isAndroid && !isIOS
|
||||
onClicked: {
|
||||
checked = true;
|
||||
remoteNode.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -175,6 +179,10 @@ ColumnLayout {
|
||||
checkedIcon: "../images/checkedVioletIcon.png"
|
||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||
checked: appWindow.persistentSettings.useRemoteNode
|
||||
onClicked: {
|
||||
checked = true
|
||||
localNode.checked = false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user