macOS: Tunnel detail: Fix updation of tunnelEditVC
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
e5a76be6fd
commit
19f353127e
|
@ -270,6 +270,7 @@ extension TunnelDetailTableViewController: TunnelEditViewControllerDelegate {
|
||||||
func tunnelSaved(tunnel: TunnelContainer) {
|
func tunnelSaved(tunnel: TunnelContainer) {
|
||||||
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration)
|
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration)
|
||||||
tableView.reloadData()
|
tableView.reloadData()
|
||||||
|
self.tunnelEditVC = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func tunnelEditingCancelled() {
|
func tunnelEditingCancelled() {
|
||||||
|
|
Loading…
Reference in New Issue