mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
SettingsNode: ignore selecting the same mode twice
This commit is contained in:
parent
cb1f3ad0ce
commit
e5b0837c8e
1 changed files with 2 additions and 0 deletions
|
@ -136,6 +136,7 @@ Rectangle{
|
|||
MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
anchors.fill: parent
|
||||
enabled: persistentSettings.useRemoteNode
|
||||
onClicked: {
|
||||
persistentSettings.useRemoteNode = false;
|
||||
appWindow.disconnectRemoteNode();
|
||||
|
@ -227,6 +228,7 @@ Rectangle{
|
|||
MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
anchors.fill: parent
|
||||
enabled: !persistentSettings.useRemoteNode
|
||||
onClicked: {
|
||||
appWindow.connectRemoteNode();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue