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:
committed by
Jason A. Donenfeld
parent
a334c25aff
commit
e29c6900e5
@@ -205,6 +205,7 @@ class TunnelEditViewController: NSViewController {
|
|||||||
view.window?.ignoresMouseEvents = !enabled
|
view.window?.ignoresMouseEvents = !enabled
|
||||||
nameRow.valueLabel.isEditable = enabled
|
nameRow.valueLabel.isEditable = enabled
|
||||||
textView.isEditable = enabled
|
textView.isEditable = enabled
|
||||||
|
onDemandWiFiControls.onDemandSSIDsField.isEnabled = enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc func handleSaveAction() {
|
@objc func handleSaveAction() {
|
||||||
|
|||||||
Reference in New Issue
Block a user