SettingsNode: ignore selecting the same mode twice

This commit is contained in:
xiphon 2020-10-18 02:45:44 +00:00
parent cb1f3ad0ce
commit e5b0837c8e

View file

@ -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();
}