diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-08-05 14:38:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-05 20:12:19 +0200 |
commit | 29fa9ae30e903be90ea208edf43eb30d0a9083e5 (patch) | |
tree | 2e4068eb80bdf0bdbf6c0dcd80da315cb5d409c0 | |
parent | ui: raise window more aggressively (diff) | |
download | wireguard-windows-29fa9ae30e903be90ea208edf43eb30d0a9083e5.tar.xz wireguard-windows-29fa9ae30e903be90ea208edf43eb30d0a9083e5.zip |
ui: remove SetFocus hack from EditDialog
Signed-off-by: Alexander Neumann <alexander.neumann@picos-software.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | ui/editdialog.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/editdialog.go b/ui/editdialog.go index 8bcbbfeb..70f4df2a 100644 --- a/ui/editdialog.go +++ b/ui/editdialog.go @@ -153,8 +153,6 @@ func newEditDialog(owner walk.Form, tunnel *manager.Tunnel) (*EditDialog, error) dlg.syntaxEdit.SetText(dlg.config.ToWgQuick()) if tunnel != nil { - dlg.nameEdit.SetFocus() // TODO: This works around a walk issue with scrolling in weird ways <https://github.com/lxn/walk/issues/505>. We should fix this in walk instead of here. - dlg.Starting().Attach(func() { dlg.syntaxEdit.SetFocus() }) |