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 2019-03-10 20:11:50 +05:30 committed by Jason A. Donenfeld
parent a334c25aff
commit e29c6900e5
1 changed files with 1 additions and 0 deletions

View File

@ -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() {