macOS: Ensure fields are updated on saving
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
1be133f269
commit
466db151b8
|
@ -399,9 +399,11 @@ extension TunnelDetailTableViewController: NSTableViewDelegate {
|
|||
extension TunnelDetailTableViewController: TunnelEditViewControllerDelegate {
|
||||
func tunnelSaved(tunnel: TunnelContainer) {
|
||||
tunnelViewModel = TunnelViewModel(tunnelConfiguration: tunnel.tunnelConfiguration)
|
||||
updateTableViewModelRowsBySection()
|
||||
updateTableViewModelRows()
|
||||
updateStatus()
|
||||
tableView.reloadData()
|
||||
self.tunnelEditVC = nil
|
||||
updateStatus()
|
||||
}
|
||||
|
||||
func tunnelEditingCancelled() {
|
||||
|
|
Loading…
Reference in New Issue