From dc1a3865af4fb53063f611f18ec427157538f834 Mon Sep 17 00:00:00 2001 From: Jeroen Leenarts Date: Tue, 21 Aug 2018 20:04:14 +0200 Subject: Line selection configures the tunnel. Signed-off-by: Jason A. Donenfeld --- WireGuard/ViewControllers/TunnelsTableViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/ViewControllers/TunnelsTableViewController.swift') diff --git a/WireGuard/ViewControllers/TunnelsTableViewController.swift b/WireGuard/ViewControllers/TunnelsTableViewController.swift index a727694..a96afa5 100644 --- a/WireGuard/ViewControllers/TunnelsTableViewController.swift +++ b/WireGuard/ViewControllers/TunnelsTableViewController.swift @@ -84,7 +84,7 @@ class TunnelsTableViewController: UITableViewController { let section = sections[indexPath.section] let tunnel = section.objects[indexPath.row] - delegate?.connect(tunnel: tunnel, tunnelsTableViewController: self) + delegate?.configure(tunnel: tunnel, tunnelsTableViewController: self) tableView.deselectRow(at: indexPath, animated: true) } -- cgit v1.2.3-59-g8ed1b