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>
This commit is contained in:
Roopesh Chander authored and Jason A. Donenfeld committed 2019-03-18 06:46:56 +01:00
1 parent a334c25aff
commit e29c6900e5
1 file changed
+1
@@ -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() {