From 3736c9b7462cf1e0f7d009da524df0573891dd05 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 8 May 2019 10:40:42 +0200 Subject: confview: show in the case that there are no peers --- ui/confview.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/confview.go b/ui/confview.go index 518164ca..515cadde 100644 --- a/ui/confview.go +++ b/ui/confview.go @@ -545,7 +545,13 @@ func (cv *ConfView) setTunnel(tunnel *service.Tunnel, config *conf.Config, state cv.SetSuspended(false) } }() - title := "Interface: " + config.Name + title := "Interface: " + if cv.name.Title() == title { + //TODO: This here is a filthy hack that shouldn't be required! + suspend() + cv.SendMessage(win.WM_SIZING, 0, 0) + } + title += config.Name if cv.name.Title() != title { cv.name.SetTitle(title) } -- cgit v1.2.3-59-g8ed1b