diff options
author | Roopesh Chander <roop@roopc.net> | 2019-02-24 15:14:35 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-02-24 15:14:35 +0530 |
commit | ea5996abe0d301ba2afbac25f215d9ead32fd448 (patch) | |
tree | e82f49cc3416b234d6745f5fa9fa893437579477 /WireGuard/WireGuard/UI/macOS | |
parent | macOS: When programmatically selecting a tunnel, also scroll if required (diff) | |
download | wireguard-apple-ea5996abe0d301ba2afbac25f215d9ead32fd448.tar.xz wireguard-apple-ea5996abe0d301ba2afbac25f215d9ead32fd448.zip |
macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift index 2e3bcef..b99bffc 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift @@ -108,7 +108,7 @@ class TunnelEditViewController: NSViewController { fatalError("init(coder:) has not been implemented") } - func populateTextFields() { + func populateFields() { let selectedActivateOnDemandOption: ActivateOnDemandOption if let tunnel = tunnel { // Editing an existing tunnel @@ -156,7 +156,7 @@ class TunnelEditViewController: NSViewController { } override func loadView() { - populateTextFields() + populateFields() scrollView.documentView = textView |