aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/listview.go
diff options
context:
space:
mode:
authorAnthony Dong <aanthony.dong@gmail.com>2019-05-14 20:33:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-15 11:11:02 +0200
commit0813a8ca68c38e883b0f67517e5b2915354fcac7 (patch)
tree088de621edc8f9b4efa95c524be62190d4f0cfad /ui/listview.go
parentbuild: allow unused functions, for cgo (diff)
downloadwireguard-windows-0813a8ca68c38e883b0f67517e5b2915354fcac7.tar.xz
wireguard-windows-0813a8ca68c38e883b0f67517e5b2915354fcac7.zip
ui: disallow empty space left clicks in listview
Signed-off-by: Anthony Dong <aanthony.dong@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/listview.go')
-rw-r--r--ui/listview.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/listview.go b/ui/listview.go
index 99e88188..17df1b23 100644
--- a/ui/listview.go
+++ b/ui/listview.go
@@ -76,6 +76,7 @@ func NewListView(parent walk.Container) (*ListView, error) {
tv.SetModel(model)
tv.SetLastColumnStretched(true)
tv.SetHeaderHidden(true)
+ tv.SetIgnoreNowhere(true)
tv.Columns().Add(walk.NewTableViewColumn())
tunnelsView := &ListView{