macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2019-02-24 15:14:35 +05:30
parent ce405f856e
commit ea5996abe0
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ class TunnelEditViewController: NSViewController {
fatalError("init(coder:) has not been implemented") fatalError("init(coder:) has not been implemented")
} }
func populateTextFields() { func populateFields() {
let selectedActivateOnDemandOption: ActivateOnDemandOption let selectedActivateOnDemandOption: ActivateOnDemandOption
if let tunnel = tunnel { if let tunnel = tunnel {
// Editing an existing tunnel // Editing an existing tunnel
@ -156,7 +156,7 @@ class TunnelEditViewController: NSViewController {
} }
override func loadView() { override func loadView() {
populateTextFields() populateFields()
scrollView.documentView = textView scrollView.documentView = textView