macOS: Ensure fields are updated on saving
This commit is contained in:
parent
1ae8e6228f
commit
6838d19599
|
@ -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