diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-22 16:32:12 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-22 20:22:56 +0200 |
commit | 59495f7e1164580ad1fc9165de10cf283668ed4f (patch) | |
tree | abf9170bcd6a842e52184740010cb35193253d4b | |
parent | conf: read files potentially with UTF16 (diff) | |
download | wireguard-windows-59495f7e1164580ad1fc9165de10cf283668ed4f.tar.xz wireguard-windows-59495f7e1164580ad1fc9165de10cf283668ed4f.zip |
ui: trade one hack for another in confview
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | ui/confview.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/confview.go b/ui/confview.go index cc54d2ab..d8984d00 100644 --- a/ui/confview.go +++ b/ui/confview.go @@ -507,6 +507,7 @@ func (cv *ConfView) setTunnel(tunnel *manager.Tunnel, config *conf.Config, state hasSuspended := false suspend := func() { + return //TODO: this line shouldn't be here! But walk's layout system is totally borked and suspending causes problems. if !hasSuspended { cv.SetSuspended(true) hasSuspended = true @@ -579,5 +580,4 @@ func (cv *ConfView) setTunnel(tunnel *manager.Tunnel, config *conf.Config, state groupBox.Parent().Children().Remove(groupBox) groupBox.Dispose() } - cv.SendMessage(win.WM_SIZING, 0, 0) //TODO: This here is a filthy hack that shouldn't be required! } |