summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 04:41:46 -0600
committerJeff Carr <[email protected]>2025-02-07 04:41:46 -0600
commitcb76668f8e404fb9094cf7f30da5ccf971c82e0e (patch)
treee84def23fd470e3dd50192cde33655c28018379d /common.go
parente2d7511045a670d04514c5feb3638a1ca49de661 (diff)
code doesn't work yetv0.22.6
Diffstat (limited to 'common.go')
-rw-r--r--common.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/common.go b/common.go
index f087d7f..f59ddb8 100644
--- a/common.go
+++ b/common.go
@@ -54,15 +54,15 @@ func (n *Node) ProgName() string {
func (n *Node) Hidden() bool {
/*
- if n.Parent == nil {
- return n.Hidden()
- }
- if n.Parent.WidgetId == 0 {
- return n.Hidden()
- }
- if n.Parent.Hidden() {
- return true
- }
+ if n.Parent == nil {
+ return n.Hidden()
+ }
+ if n.Parent.WidgetId == 0 {
+ return n.Hidden()
+ }
+ if n.Parent.Hidden() {
+ return true
+ }
*/
return n.State.Hidden
}