aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/manage_tunnels.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui/manage_tunnels.go4
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()
+ })
}
}()