diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-23 16:11:48 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-23 16:11:58 +0200 |
commit | 9891e4873845fddb2549bc46842a5e56d081f677 (patch) | |
tree | 8bb5fd22ad79a8911103dbdd50bc94a9ea588dbc /ui | |
parent | version: bump (diff) | |
download | wireguard-windows-9891e4873845fddb2549bc46842a5e56d081f677.tar.xz wireguard-windows-9891e4873845fddb2549bc46842a5e56d081f677.zip |
ui: confview: hide groupbox when removing
This prevents us from loosing focus for a second.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/confview.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/confview.go b/ui/confview.go index d8984d00..9c3315bb 100644 --- a/ui/confview.go +++ b/ui/confview.go @@ -577,6 +577,7 @@ func (cv *ConfView) setTunnel(tunnel *manager.Tunnel, config *conf.Config, state suspend() delete(cv.peers, *k) groupBox := pv.publicKey.label.Parent().AsContainerBase().Parent().(*walk.GroupBox) + groupBox.SetVisible(false) groupBox.Parent().Children().Remove(groupBox) groupBox.Dispose() } |