summaryrefslogtreecommitdiff
path: root/addNode.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-09 09:30:50 -0600
committerJeff Carr <[email protected]>2024-02-09 09:30:50 -0600
commit0f9b7ec2afdac1b5bbe4605851a3fdb1bb4b66b5 (patch)
tree04469001f51712848b705f2cf30fd64641b1f0bd /addNode.go
parentbd24754c82f77d06dba31c32c3acdd0ed1adebe9 (diff)
gocui panic loads nocui
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'addNode.go')
-rw-r--r--addNode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/addNode.go b/addNode.go
index 43e4d20..e0af110 100644
--- a/addNode.go
+++ b/addNode.go
@@ -16,7 +16,7 @@ func (me *TreeInfo) AddNode(a *widget.Action) *Node {
// n.Strings = make(map[string]int)
// slices.Reverse(lines)
// dropdown strings
- n.ddStrings = make([]string, 0)
+ n.ddStrings = make([]string, 0)
for _, s := range a.State.Strings {
n.ddStrings = append(n.ddStrings, s)
}