diff options
| author | Jeff Carr <[email protected]> | 2024-01-20 19:53:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-20 19:53:23 -0600 |
| commit | 57843518b20cbf544a96b885b619e83529602597 (patch) | |
| tree | 0712deb9602a8a5a184ad6b0d49dbee8b4699516 /basicCombobox.go | |
| parent | e21b61fa9690e547d47a71ad99bfd2af6eb8c58a (diff) | |
lots of cleanups for the gui and toolkit packagesv0.12.14
log flags gui again
fix panic()
SetVisible() false on create
update go mod
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'basicCombobox.go')
| -rw-r--r-- | basicCombobox.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basicCombobox.go b/basicCombobox.go index 3fc250e..ad46b0b 100644 --- a/basicCombobox.go +++ b/basicCombobox.go @@ -20,7 +20,6 @@ type BasicCombobox struct { ready bool progname string - parent *gui.Node // parent widget l *gui.Node // label widget d *gui.Node // dropdown widget @@ -89,7 +88,6 @@ func (d *BasicCombobox) AddText(s string) { func NewBasicCombobox(p *gui.Node, label string) *BasicCombobox { d := BasicCombobox{ - parent: p, progname: label, ready: false, } @@ -98,7 +96,7 @@ func NewBasicCombobox(p *gui.Node, label string) *BasicCombobox { d.l = p.NewLabel(label) d.d = p.NewCombobox() d.d.Custom = func() { - log.Warn("BasicCombobox.Custom() user changed value to =", d.d.String()) + log.Warn("BasicCombobox.Custom() user changed value to =", d.String()) if d.Custom != nil { d.Custom() } |
