summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-04 14:45:23 -0600
committerJeff Carr <[email protected]>2025-02-04 14:45:23 -0600
commit8ce9ca882a4031ed9632125ce1efe45560bdeeed (patch)
tree49fc92c1ca4f92e8866055c8beb8a61511631e91 /plugin.go
parentbf8cbddf1ac6b65c1a77dae0b7ccd910a9e96a3d (diff)
still a no
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go21
1 files changed, 0 insertions, 21 deletions
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)
- }
-}
-*/