diff options
Diffstat (limited to '')
-rw-r--r-- | ui/raise.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/raise.go b/ui/raise.go index 6d08c6bb..b74b5ed6 100644 --- a/ui/raise.go +++ b/ui/raise.go @@ -10,7 +10,6 @@ import ( "os" "runtime" - "github.com/lxn/walk" "github.com/lxn/win" "golang.org/x/sys/windows" ) @@ -54,7 +53,7 @@ func WaitForRaiseUIThenQuit() { return 0 }, 0, 0, win.WINEVENT_SKIPOWNPROCESS|win.WINEVENT_OUTOFCONTEXT) if err != nil { - walk.MsgBox(nil, "WireGuard Detection Error", fmt.Sprintf("Unable to wait for WireGuard window to appear: %v", err), walk.MsgBoxIconError) + showErrorCustom(nil, "WireGuard Detection Error", fmt.Sprintf("Unable to wait for WireGuard window to appear: %v", err)) } for { var msg win.MSG |