From 8ce9ca882a4031ed9632125ce1efe45560bdeeed Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 4 Feb 2025 14:45:23 -0600 Subject: still a no --- plugin.go | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'plugin.go') diff --git a/plugin.go b/plugin.go index a311930..7934d83 100644 --- a/plugin.go +++ b/plugin.go @@ -115,8 +115,6 @@ func newaction(n *tree.Node, atype widget.ActionType) { w.deleteNode() } n.DeleteNode() - wRoot := me.treeRoot.TK.(*guiWidget) - wRoot.redoWindows(0, 0) default: log.Log(ERROR, "newaction() UNHANDLED Action Type =", atype, "WidgetType =", n.WidgetType, "Name =", n.ProgName()) } @@ -183,22 +181,3 @@ func (w *guiWidget) SetText(text string) { w.Show() } } - -/* -func (w *guiWidget) Set(val any) { - if w == nil { - log.Log(WARN, "Set() w == nil. val =", val) - return - } - log.Log(INFO, "Set() value =", val) - - w.value = val.(string) - if w.node.WidgetType == widget.Checkbox { - w.node.State.Checked = widget.GetBool(val) - w.setCheckbox() - } - if w.node.WidgetType == widget.Label { - w.labelN = widget.GetString(val) - } -} -*/ -- cgit v1.2.3