From: Roopesh Chander Date: Wed, 23 Jan 2019 13:56:35 +0000 (+0530) Subject: macOS: Tunnel detail: Fix updation of tunnelEditVC X-Git-Tag: 0.0.20190207-1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f353127e665c7d426670dda72920b9e0f12792;p=thirdparty%2Fwireguard-apple.git macOS: Tunnel detail: Fix updation of tunnelEditVC Signed-off-by: Roopesh Chander --- diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift index 546d1c1..6c3a0e9 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift @@ -270,6 +270,7 @@ extension TunnelDetailTableViewController: TunnelEditViewControllerDelegate { func tunnelSaved(tunnel: TunnelContainer) { tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration) tableView.reloadData() + self.tunnelEditVC = nil } func tunnelEditingCancelled() {