From 5728a525c7df94b2b0501c298489aac65ec6068f Mon Sep 17 00:00:00 2001 From: Jeroen Leenarts Date: Tue, 21 Aug 2018 20:04:14 +0200 Subject: [PATCH] Line selection configures the tunnel. --- WireGuard/ViewControllers/TunnelsTableViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }