From e29c6900e5971d0872ded11a90bd6ae60112c40a Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Sun, 10 Mar 2019 20:11:50 +0530 Subject: on-demand: macOS: Disable SSIDs field when adding a tunnel It shouldn't be editable when the VPN prompt is shown. Signed-off-by: Roopesh Chander --- .../WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 1 + 1 file changed, 1 insertion(+) (limited to 'WireGuard/WireGuard/UI/macOS/ViewController') diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift index d3c76f5..2bba189 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift @@ -205,6 +205,7 @@ class TunnelEditViewController: NSViewController { view.window?.ignoresMouseEvents = !enabled nameRow.valueLabel.isEditable = enabled textView.isEditable = enabled + onDemandWiFiControls.onDemandSSIDsField.isEnabled = enabled } @objc func handleSaveAction() { -- cgit v1.2.3-59-g8ed1b