diff options
Diffstat (limited to 'toolkit/andlabs/combobox.go')
| -rw-r--r-- | toolkit/andlabs/combobox.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/combobox.go b/toolkit/andlabs/combobox.go index 06a7f41..564ff23 100644 --- a/toolkit/andlabs/combobox.go +++ b/toolkit/andlabs/combobox.go @@ -18,8 +18,8 @@ func (p *node) newCombobox(n *node) { newt.val = make(map[int]string) cb.OnChanged(func(spin *ui.EditableCombobox) { - newt.s = spin.Text() - newt.doUserEvent() + n.S = spin.Text() + n.doUserEvent() }) n.tk = newt |
