Merge pull request #3175

e5b0837c SettingsNode: ignore selecting the same mode twice (xiphon)
This commit is contained in:
Alexander Blair 2020-10-19 00:13:24 -07:00
commit 33e1801c57
No known key found for this signature in database
GPG Key ID: C64552D877C32479

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