diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 19:32:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 19:32:40 -0600 |
| commit | ed951e0234d428298bd6b76b07e371ce2ab3cb60 (patch) | |
| tree | 200c77deef52245e59dc96f591e16843a8125927 /redraw.go | |
| parent | 5f6afb8cf8293f819711ccdf791296edfd7ce7d6 (diff) | |
var value anyv0.12.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'redraw.go')
| -rw-r--r-- | redraw.go | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -21,12 +21,12 @@ func (n *Node) redraw(p *aplug) { } func (n *Node) redo(plug *aplug) { - log.Info("redo()", plug.name, n.id, n.WidgetType, n.Name) + log.Info("redo()", plug.name, n.id, n.WidgetType, n.progname) var a *widget.Action a = new(widget.Action) - a.Name = n.Name - a.Text = n.Text + a.ProgName = n.progname + a.Value = n.value a.ActionType = widget.Add a.WidgetType = n.WidgetType @@ -40,11 +40,6 @@ func (n *Node) redo(plug *aplug) { a.AtW = n.AtW a.AtH = n.AtH - // used for values - a.I = n.I - a.S = n.S - a.B = n.B - if (n.parent == nil) { a.ParentId = 0 } else { |
