aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/tray.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/tray.go')
-rw-r--r--ui/tray.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/tray.go b/ui/tray.go
index 3204d861..85ba9d54 100644
--- a/ui/tray.go
+++ b/ui/tray.go
@@ -137,6 +137,7 @@ func (tray *Tray) addTunnelAction(tunnel *service.Tunnel) {
tunnelAction.SetCheckable(true)
tclosure := *tunnel
tunnelAction.Triggered().Attach(func() {
+ tunnelAction.SetChecked(!tunnelAction.Checked())
oldState, err := tclosure.Toggle()
if err != nil {
tray.mtw.Show()