From 933a7e4df0e6a28ad06dfd60ab2928d5cdf916f9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Apr 2023 20:25:14 -0500 Subject: andlabs: callback is now safe through a go channel Signed-off-by: Jeff Carr --- toolkit/andlabs/dropdown.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/andlabs/dropdown.go') diff --git a/toolkit/andlabs/dropdown.go b/toolkit/andlabs/dropdown.go index 036ed3e..d49ef1c 100644 --- a/toolkit/andlabs/dropdown.go +++ b/toolkit/andlabs/dropdown.go @@ -28,8 +28,8 @@ func (t *andlabsT) newDropdown(a *toolkit.Action) *andlabsT { log(debugChange, "make map didn't work") newt.text = "error" } - newt.tw.S = newt.val[i] - newt.commonChange(newt.tw, a.WidgetId) + newt.s = newt.val[i] + newt.doUserEvent() }) return &newt -- cgit v1.2.3