on-demand: macOS: Disable SSIDs field when adding a tunnel

It shouldn't be editable when the VPN prompt is shown.
This commit is contained in:
Roopesh Chander 2019-03-10 20:11:50 +05:30 committed by Jason A. Donenfeld
parent bb82004d5c
commit 75f4272fc0
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() {