diff options
| author | Jeff Carr <[email protected]> | 2024-02-05 15:04:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-05 15:04:01 -0600 |
| commit | 9aafc45c0b50dba5048a58e0076002471a2c8306 (patch) | |
| tree | 1a989d1b8945a2c9b4c7f60e675791bd0f5dac80 /combobox.go | |
| parent | 1e98d2607b0eafb698dc63e7b97d55ecaf416cb5 (diff) | |
fix textboxv0.20.0
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'combobox.go')
| -rw-r--r-- | combobox.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/combobox.go b/combobox.go index 18e16be..21fac61 100644 --- a/combobox.go +++ b/combobox.go @@ -23,7 +23,7 @@ func newCombobox(p, n *tree.Node) { newt.val = make(map[int]string) cb.OnChanged(func(spin *ui.EditableCombobox) { - n.SetValue(spin.Text()) + n.State.CurrentS = spin.Text() log.Log(ANDLABS, "combobox changed ="+spin.Text()+".") me.myTree.SendUserEvent(n) }) |
