diff options
author | 2019-03-10 20:11:50 +0530 | |
---|---|---|
committer | 2019-03-18 06:46:56 +0100 | |
commit | e29c6900e5971d0872ded11a90bd6ae60112c40a (patch) | |
tree | 56df4878358393c1ff6dc3e752226d78e60c1caf /WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | |
parent | on-demand: iOS: Disable selection in SSID detail table view (diff) | |
download | wireguard-apple-e29c6900e5971d0872ded11a90bd6ae60112c40a.tar.xz wireguard-apple-e29c6900e5971d0872ded11a90bd6ae60112c40a.zip |
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 <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 1 |
1 files changed, 1 insertions, 0 deletions
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() { |