summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addNode.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/addNode.go b/addNode.go
index cab2852..dea9153 100644
--- a/addNode.go
+++ b/addNode.go
@@ -13,6 +13,7 @@ func (me *TreeInfo) AddNode(a *widget.Action) *Node {
n.ParentId = a.ParentId
n.State = a.State
+ n.State.Enable = a.State.Enable
// n.Strings = make(map[string]int)
// slices.Reverse(lines)
// dropdown strings