macOS: Ensure fields are updated on saving

This commit is contained in:
Roopesh Chander 2019-02-05 16:15:43 +05:30
parent 1ae8e6228f
commit 6838d19599
1 changed files with 3 additions and 1 deletions

View File

@ -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() {