diff options
author | Alexander Neumann <an2048@gmail.com> | 2019-07-25 15:12:04 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-07-29 09:45:07 +0200 |
commit | 0dce279a896c604054f835ac921faa20af26b610 (patch) | |
tree | b267dbf46cd412aa6f13b7d87ca7a586aed08d84 /ui/filesave.go | |
parent | ui: use now exposed ItemCountChanged event (diff) | |
download | wireguard-windows-0dce279a896c604054f835ac921faa20af26b610.tar.xz wireguard-windows-0dce279a896c604054f835ac921faa20af26b610.zip |
ui: improve error handling
Signed-off-by: Alexander Neumann <an2048@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/filesave.go')
-rw-r--r-- | ui/filesave.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/filesave.go b/ui/filesave.go index b17f106c..5f78cfee 100644 --- a/ui/filesave.go +++ b/ui/filesave.go @@ -18,7 +18,7 @@ func writeFileWithOverwriteHandling(owner walk.Form, filePath string, write func return false } - walk.MsgBox(owner, "Writing file failed", err.Error(), walk.MsgBoxIconError) + showErrorCustom(owner, "Writing file failed", err.Error()) return true } |