aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-02-24 15:14:35 +0530
committerRoopesh Chander <roop@roopc.net>2019-02-24 15:14:35 +0530
commitea5996abe0d301ba2afbac25f215d9ead32fd448 (patch)
treee82f49cc3416b234d6745f5fa9fa893437579477
parentmacOS: When programmatically selecting a tunnel, also scroll if required (diff)
downloadwireguard-apple-ea5996abe0d301ba2afbac25f215d9ead32fd448.tar.xz
wireguard-apple-ea5996abe0d301ba2afbac25f215d9ead32fd448.zip
macOS: Tunnel edit: s/populateTextFields()/populateFields()/g;
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift4
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 2e3bceff..b99bffcc 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