summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
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)
- }
-}
-*/