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

This commit is contained in:
Roopesh Chander 2019-02-24 15:14:35 +05:30
parent 255645bdf0
commit e8c81904db
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