summaryrefslogtreecommitdiff
path: root/basicCombobox.go
diff options
context:
space:
mode:
Diffstat (limited to 'basicCombobox.go')
-rw-r--r--basicCombobox.go4
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()
}