diff options
Diffstat (limited to 'gui/widget/tree.go')
| -rw-r--r-- | gui/widget/tree.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gui/widget/tree.go b/gui/widget/tree.go index 9e4af13..ff4d139 100644 --- a/gui/widget/tree.go +++ b/gui/widget/tree.go @@ -54,7 +54,6 @@ func flatten[T any](root Node[T], depth int) []string { make([]rune, depth), '─')) nodes := []string{indent + root.Label} - root.expanded = true // TODO: remove me if root.expanded { for _, c := range root.Children { nodes = append(nodes, flatten(c, depth+1)...) |