From 51cb9dea80271f43c213af044305fadd4a4ab07d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 22 May 2019 16:32:12 +0200 Subject: ui: trade one hack for another in confview --- ui/confview.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/confview.go') 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! } -- cgit v1.2.3-59-g8ed1b