aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-23 19:26:35 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-23 19:26:43 +0530
commit19f353127e665c7d426670dda72920b9e0f12792 (patch)
treead07c071d9ecddf20e8732a141bce4db6e7b0415 /WireGuard/WireGuard/UI/macOS
parentmacOS: Deactivate any active tunnel when app exits (diff)
downloadwireguard-apple-19f353127e665c7d426670dda72920b9e0f12792.tar.xz
wireguard-apple-19f353127e665c7d426670dda72920b9e0f12792.zip
macOS: Tunnel detail: Fix updation of tunnelEditVC
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift1
1 files changed, 1 insertions, 0 deletions
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() {