diff options
Diffstat (limited to '')
-rw-r--r-- | ui/manage_tunnels.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/manage_tunnels.go b/ui/manage_tunnels.go index 815dee00..9e3711b6 100644 --- a/ui/manage_tunnels.go +++ b/ui/manage_tunnels.go @@ -132,7 +132,9 @@ func (mtw *ManageTunnelsWindow) setup() error { // TODO: teardown in Dispose() t := time.NewTicker(time.Second) for range t.C { - mtw.updateConfView() + mtw.Synchronize(func() { + mtw.updateConfView() + }) } }() |