summaryrefslogtreecommitdiff
path: root/treeInit.go
diff options
context:
space:
mode:
Diffstat (limited to 'treeInit.go')
-rw-r--r--treeInit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/treeInit.go b/treeInit.go
index 57db353..27153e2 100644
--- a/treeInit.go
+++ b/treeInit.go
@@ -55,7 +55,6 @@ func PluginChannel() chan widget.Action {
func initTree() *tree.TreeInfo {
t := tree.New()
t.PluginName = PLUGIN
- t.NodeAction = newaction
t.Add = newAdd
t.SetTitle = setTitle
t.SetLabel = setLabel
@@ -64,6 +63,7 @@ func initTree() *tree.TreeInfo {
t.SetChecked = setChecked
t.ToolkitClose = toolkitClose
t.ShowTable = showTable
+ t.Show = showTable
return t
}