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