summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2020-11-25 10:44:49 +0100
committerGitHub <noreply@github.com>2020-11-25 10:44:49 +0100
commit2a61ddb5a2b81b3d470233f62788f8d22a15557c (patch)
tree6f845dfbedb7725f3cfde458f8a594c14fea77a5
parentMerge pull request #743 from zx2c4-forks/jd/commondiag (diff)
parentAdding name to AUTHORS (diff)
downloadwireguard-windows-2a61ddb5a2b81b3d470233f62788f8d22a15557c.tar.xz
wireguard-windows-2a61ddb5a2b81b3d470233f62788f8d22a15557c.zip
Merge pull request #735 from shivas/combobox-event-not-published
Publish event as selected index changes
-rw-r--r--AUTHORS1
-rw-r--r--combobox.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 727ea4bf..0bbc7913 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,6 +13,7 @@ Alexander Neumann <an2048@gmail.com>
Aman Gupta <aman@tmm1.net>
Anthony Dong <adongy@users.noreply.github.com>
Attila Tajti <attila.tajti@gmail.com>
+Audrius Karabanovas <audrius@karabanovas.net>
Benny Siegert <bsiegert@gmail.com>
Cary Cherng <ccherng@gmail.com>
Dmitry Bagdanov <dimbojob@gmail.com>
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 {