summaryrefslogtreecommitdiff
path: root/addNode.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-12 00:19:31 -0600
committerJeff Carr <[email protected]>2025-02-12 00:19:31 -0600
commit6f5944d45f0857e6261c87bb351f59b770d6f861 (patch)
treef5233871ac01d0b45c1b4a71e6b85d9f0e29343d /addNode.go
parent27c0a4afb9d54f7aa2e8c1a92cc444bf5207c360 (diff)
working on fixing button disable
Diffstat (limited to 'addNode.go')
-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