diff options
author | Roopesh Chander <roop@roopc.net> | 2019-01-23 19:26:35 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-23 19:26:43 +0530 |
commit | 19f353127e665c7d426670dda72920b9e0f12792 (patch) | |
tree | ad07c071d9ecddf20e8732a141bce4db6e7b0415 /WireGuard | |
parent | macOS: Deactivate any active tunnel when app exits (diff) | |
download | wireguard-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.swift | 1 |
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() { |