diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-27 16:39:06 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-27 16:39:06 +0200 |
commit | 793549f644302f08f5c1b28451a98ffd0eecf0d1 (patch) | |
tree | c154e97a58a9a98af9a3fe316285ee3fdd0b22a3 /ui/tunnelspage.go | |
parent | ui: enable double buffering on confview (diff) | |
download | wireguard-windows-793549f644302f08f5c1b28451a98ffd0eecf0d1.tar.xz wireguard-windows-793549f644302f08f5c1b28451a98ffd0eecf0d1.zip |
ui: fix UI hide/quit logic
Diffstat (limited to 'ui/tunnelspage.go')
-rw-r--r-- | ui/tunnelspage.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/tunnelspage.go b/ui/tunnelspage.go index a3ecf0c0..86ab1235 100644 --- a/ui/tunnelspage.go +++ b/ui/tunnelspage.go @@ -321,6 +321,8 @@ func (tp *TunnelsPage) onDelete() { } func (tp *TunnelsPage) onImport() { + tp.Form().Show() // Since the tray calls us sometimes, always make our parent visible. + dlg := walk.FileDialog{ Filter: "Configuration Files (*.zip, *.conf)|*.zip;*.conf|All Files (*.*)|*.*", Title: "Import tunnel(s) from file...", |