From e3c722fec8df4bfd2a8bceb93d4732840d517ee1 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Sun, 23 Nov 2025 15:11:33 -0500 Subject: [PATCH] VPN: Minimal support for wireguard + removed opening non existing panel. --- Modules/Bar/Widgets/VPN.qml | 1 - Services/Networking/VPNService.qml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Bar/Widgets/VPN.qml b/Modules/Bar/Widgets/VPN.qml index 691812bf..8beff2b3 100644 --- a/Modules/Bar/Widgets/VPN.qml +++ b/Modules/Bar/Widgets/VPN.qml @@ -121,7 +121,6 @@ Item { autoHide: false forceOpen: !isBarVertical && root.displayMode === "alwaysShow" forceClose: isBarVertical || root.displayMode === "alwaysHide" || !pill.text - onClicked: PanelService.getPanel("vpnPanel", screen)?.toggle(this) onRightClicked: { var popupMenuWindow = PanelService.getPopupMenuWindow(screen); if (popupMenuWindow) { diff --git a/Services/Networking/VPNService.qml b/Services/Networking/VPNService.qml index 4601a20b..d8673076 100644 --- a/Services/Networking/VPNService.qml +++ b/Services/Networking/VPNService.qml @@ -159,7 +159,7 @@ Singleton { continue; } const type = remaining.substring(secondLastColonIdx + 1); - if (type !== "vpn") { + if (type !== "vpn" && type !== "wireguard") { continue; } const remaining2 = remaining.substring(0, secondLastColonIdx);