aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-03-10 20:11:50 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-18 06:46:56 +0100
commite29c6900e5971d0872ded11a90bd6ae60112c40a (patch)
tree56df4878358393c1ff6dc3e752226d78e60c1caf /WireGuard/WireGuard
parenton-demand: iOS: Disable selection in SSID detail table view (diff)
downloadwireguard-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 'WireGuard/WireGuard')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift1
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() {