aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/manage_tunnels.go
diff options
context:
space:
mode:
authorAnthony Dong <aanthony.dong@gmail.com>2019-03-25 19:09:27 +0100
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-04-23 11:04:59 +0200
commit36c523d6439b9c7a3939f9fbce514ee18784faca (patch)
tree05c43dbf1ece5b81455d83213b471147140ebf22 /ui/manage_tunnels.go
parentui: fix invalid layout direction (diff)
downloadwireguard-windows-36c523d6439b9c7a3939f9fbce514ee18784faca.tar.xz
wireguard-windows-36c523d6439b9c7a3939f9fbce514ee18784faca.zip
ui: fix splitter layout not displaying widgets
Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/manage_tunnels.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/manage_tunnels.go b/ui/manage_tunnels.go
index 8eea6e8d..c7673776 100644
--- a/ui/manage_tunnels.go
+++ b/ui/manage_tunnels.go
@@ -53,6 +53,10 @@ func (mtw *ManageTunnelsWindow) setup() error {
})
splitter, _ := walk.NewHSplitter(mtw)
+ splitter.SetSuspended(true)
+ defer func() {
+ splitter.SetSuspended(false)
+ }()
tunnelsContainer, _ := walk.NewComposite(splitter)
tunnelsContainer.SetLayout(walk.NewVBoxLayout())