mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
SettingsNode: ignore selecting the same mode twice
This commit is contained in:
parent
cb1f3ad0ce
commit
e5b0837c8e
@ -136,6 +136,7 @@ Rectangle{
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
enabled: persistentSettings.useRemoteNode
|
||||||
onClicked: {
|
onClicked: {
|
||||||
persistentSettings.useRemoteNode = false;
|
persistentSettings.useRemoteNode = false;
|
||||||
appWindow.disconnectRemoteNode();
|
appWindow.disconnectRemoteNode();
|
||||||
@ -227,6 +228,7 @@ Rectangle{
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
enabled: !persistentSettings.useRemoteNode
|
||||||
onClicked: {
|
onClicked: {
|
||||||
appWindow.connectRemoteNode();
|
appWindow.connectRemoteNode();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user