aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-12 02:22:41 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-12 03:07:59 -0600
commitbd410c59c015b0ee4796e283bad6930e0dbc4ab6 (patch)
tree1f9476ea14c047a78b21b270c4cc25b46ea21741 /ui
parentui: reduce flicker when changing view (diff)
downloadwireguard-windows-bd410c59c015b0ee4796e283bad6930e0dbc4ab6.tar.xz
wireguard-windows-bd410c59c015b0ee4796e283bad6930e0dbc4ab6.zip
ui: hack around rendering glitch
This doesn't actually fix the root cause, but it makes things almost not awful for now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 85aba1e0..65e05b8c 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -165,6 +165,7 @@ func RunUI() {
walk.MsgBox(mw, "Invalid configuration", err.Error(), walk.MsgBoxIconError)
return
}
+ cv.SetConfiguration(c)
tunnel, err := service.IPCClientNewTunnel(c)
if err != nil {
walk.MsgBox(mw, "Unable to create tunnel", err.Error(), walk.MsgBoxIconError)