macOS: Adapt to TunnelsManagerListDelegate changes

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2019-01-23 16:21:20 +05:30
parent 11e44f9ae5
commit 76527ef0f8
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ extension TunnelsTracker: TunnelsManagerListDelegate {
manageTunnelsRootVC?.tunnelsListVC?.tunnelMoved(from: oldIndex, to: newIndex) manageTunnelsRootVC?.tunnelsListVC?.tunnelMoved(from: oldIndex, to: newIndex)
} }
func tunnelRemoved(at index: Int) { func tunnelRemoved(at index: Int, tunnel: TunnelContainer) {
tunnelStatusObservers.remove(at: index) tunnelStatusObservers.remove(at: index)
statusMenu?.removeTunnelMenuItem(at: index) statusMenu?.removeTunnelMenuItem(at: index)