summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.go b/common.go
index d24b7fb..a544f51 100644
--- a/common.go
+++ b/common.go
@@ -17,6 +17,7 @@ func (n *Node) Show() *Node {
return n
}
+ n.visable = true
n.hidden = false
n.changed = true
@@ -51,6 +52,7 @@ func (n *Node) Hide() *Node {
return nil
}
+ n.visable = false
n.hidden = true
n.changed = true