diff --git a/widget.go b/widget.go index ed35a46..dff4490 100644 --- a/widget.go +++ b/widget.go @@ -140,7 +140,7 @@ func debugAddWidgetButtons(n *gui.Node) { a.AddText("make something for tim for qflow") a.AddText("and for riscv") a.Custom = func () { - log.Log(WARN, "custom dropdown() a =", a.Name, a.S) + log.Log(WARN, "custom dropdown() a =", a.ProgName(), a.S) } }) n.NewButton("Combobox", func () { @@ -148,7 +148,7 @@ func debugAddWidgetButtons(n *gui.Node) { a.AddText("mirrors.wit.com") a.AddText("go.wit.com") a.Custom = func () { - log.Log(WARN, "custom combobox() a =", a.Name, a.S) + log.Log(WARN, "custom combobox() a =", a.ProgName(), a.S) } }) n.NewButton("Grid", func () {