From: Roopesh Chander Date: Sun, 10 Mar 2019 14:41:50 +0000 (+0530) Subject: on-demand: macOS: Disable SSIDs field when adding a tunnel X-Git-Tag: 0.0.20190319-1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e29c6900e5971d0872ded11a90bd6ae60112c40a;p=thirdparty%2Fwireguard-apple.git 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 --- 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() {