aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
diff options
context:
space:
mode:
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/StatusMenu.swift')
-rw-r--r--WireGuard/WireGuard/UI/macOS/StatusMenu.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/StatusMenu.swift b/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
index c2083681..263b9330 100644
--- a/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
+++ b/WireGuard/WireGuard/UI/macOS/StatusMenu.swift
@@ -46,10 +46,10 @@ class StatusMenu: NSMenu {
func addStatusMenuItems() {
let statusTitle = tr(format: "macStatus (%@)", tr("tunnelStatusInactive"))
- let statusMenuItem = NSMenuItem(title: statusTitle, action: #selector(manageTunnelsClicked), keyEquivalent: "")
+ let statusMenuItem = NSMenuItem(title: statusTitle, action: nil, keyEquivalent: "")
statusMenuItem.isEnabled = false
addItem(statusMenuItem)
- let networksMenuItem = NSMenuItem(title: tr("macMenuNetworksInactive"), action: #selector(manageTunnelsClicked), keyEquivalent: "")
+ let networksMenuItem = NSMenuItem(title: "", action: nil, keyEquivalent: "")
networksMenuItem.isEnabled = false
networksMenuItem.isHidden = true
addItem(networksMenuItem)