aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-06 19:48:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-07 07:30:36 +0200
commit15e1e74d3413e34feb037a61e3a9f3f7be533e5e (patch)
tree9845467feb7f4517b91c5982f0b299cab9f08cb2 /ui/ui.go
parentui: set global state before main state in tray (diff)
downloadwireguard-windows-15e1e74d3413e34feb037a61e3a9f3f7be533e5e.tar.xz
wireguard-windows-15e1e74d3413e34feb037a61e3a9f3f7be533e5e.zip
ui: remove setfocus hack
It introduces weird other problems.
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 11bc0ef3..9b9e1e8b 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -79,9 +79,6 @@ func RunUI() {
}
}()
- mtw.Starting().Attach(func() {
- mtw.tunnelsPage.SetFocus()
- })
mtw.Run()
tray.Dispose()
mtw.Dispose()