diff options
Diffstat (limited to 'ui/tray.go')
-rw-r--r-- | ui/tray.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -265,6 +265,9 @@ func (tray *Tray) updateGlobalState(globalState service.TunnelState) { func (tray *Tray) SetTunnelState(tunnel *service.Tunnel, state service.TunnelState, showNotifications bool) { tunnelAction := tray.tunnels[tunnel.Name] + if tunnelAction == nil { + return + } actions := tray.ContextMenu().Actions() activeCIDRsAction := actions.At(1) |