summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.go b/draw.go
index db22fe2..6e7304c 100644
--- a/draw.go
+++ b/draw.go
@@ -27,9 +27,9 @@ func (w *guiWidget) drawTree(draw bool) {
w.showWidgetPlacement("drawTree()")
if draw {
// w.textResize()
- w.showView()
+ w.Show()
} else {
- w.deleteView()
+ w.Hide()
}
for _, child := range w.children {