aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/ui.go
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
commit3bd560220e743878655802faa759d5f49b30a6a3 (patch)
tree1f9476ea14c047a78b21b270c4cc25b46ea21741 /ui/ui.go
parentui: reduce flicker when changing view (diff)
downloadwireguard-windows-3bd560220e743878655802faa759d5f49b30a6a3.tar.xz
wireguard-windows-3bd560220e743878655802faa759d5f49b30a6a3.zip
ui: hack around rendering glitch
This doesn't actually fix the root cause, but it makes things almost not awful for now.
Diffstat (limited to 'ui/ui.go')
-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)