aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-17 00:41:32 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-17 00:41:32 +0530
commitdbd5108475aa8aa5d923f4dbc83cf274e72abd61 (patch)
tree411f8b41e417cd1c478b70178f19fc006447ccce /WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
parentmacOS: Tunnels list: Rename action handling methods (diff)
downloadwireguard-apple-dbd5108475aa8aa5d923f4dbc83cf274e72abd61.tar.xz
wireguard-apple-dbd5108475aa8aa5d923f4dbc83cf274e72abd61.zip
macOS: Tunnel detail: Rename action handling methods
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
index 5f6c891..2c7f25a 100644
--- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
@@ -107,7 +107,7 @@ class TunnelDetailTableViewController: NSViewController {
statusCheckbox.action = #selector(statusCheckboxToggled(sender:))
editButton.target = self
- editButton.action = #selector(editButtonClicked)
+ editButton.action = #selector(handleEditTunnelAction)
let clipView = NSClipView()
clipView.documentView = tableView
@@ -195,7 +195,7 @@ class TunnelDetailTableViewController: NSViewController {
statusCheckbox.isEnabled = shouldBeEnabled
}
- @objc func editButtonClicked() {
+ @objc func handleEditTunnelAction() {
let tunnelEditVC = TunnelEditViewController(tunnelsManager: tunnelsManager, tunnel: tunnel)
tunnelEditVC.delegate = self
presentAsSheet(tunnelEditVC)