diff options
| author | Jeff Carr <[email protected]> | 2024-01-10 15:35:42 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-10 15:35:42 -0600 |
| commit | ba5ce49e7aea4b05645d0aac1e5d93049c1344df (patch) | |
| tree | 20e006cbd5f702754bb81b535d3a562de59a4c85 /andlabs/combobox.go | |
| parent | fc9be41013773950f946bef6f3271c5d761a027a (diff) | |
fix dropdown.Set() and place() on group
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/combobox.go')
| -rw-r--r-- | andlabs/combobox.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/andlabs/combobox.go b/andlabs/combobox.go index 369b7da..6339f62 100644 --- a/andlabs/combobox.go +++ b/andlabs/combobox.go @@ -3,6 +3,8 @@ package main import ( "github.com/andlabs/ui" _ "github.com/andlabs/ui/winmanifest" + + "go.wit.com/log" ) func (p *node) newCombobox(n *node) { @@ -17,7 +19,8 @@ func (p *node) newCombobox(n *node) { newt.val = make(map[int]string) cb.OnChanged(func(spin *ui.EditableCombobox) { - n.S = spin.Text() + n.A = spin.Text() + log.Warn("combobox changed =" + spin.Text() + ".") n.doUserEvent() }) |
