diff options
author | Audrius Karabanovas <audrius@karabanovas.net> | 2020-11-05 00:20:21 +0200 |
---|---|---|
committer | Audrius Karabanovas <audrius@karabanovas.net> | 2020-11-05 00:20:21 +0200 |
commit | b70e57bcb8baa355990e2963b71c996ea565e944 (patch) | |
tree | b67c01d5ffd3814c1e73214cf944aa48bc10d712 | |
parent | TabWidget: Fix the fix (diff) | |
download | wireguard-windows-b70e57bcb8baa355990e2963b71c996ea565e944.tar.xz wireguard-windows-b70e57bcb8baa355990e2963b71c996ea565e944.zip |
Publish event as selected index changes
-rw-r--r-- | combobox.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/combobox.go b/combobox.go index 1d5d12fb..09a8dd20 100644 --- a/combobox.go +++ b/combobox.go @@ -667,6 +667,7 @@ func (cb *ComboBox) WndProc(hwnd win.HWND, msg uint32, wParam, lParam uintptr) u case win.CBN_SELCHANGE: cb.selChangeIndex = selIndex + cb.currentIndexChangedPublisher.Publish() case win.CBN_SELENDCANCEL: if cb.selChangeIndex != -1 { |