summaryrefslogtreecommitdiff
path: root/new.go
diff options
context:
space:
mode:
Diffstat (limited to 'new.go')
-rw-r--r--new.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/new.go b/new.go
index 397e7b9..d722136 100644
--- a/new.go
+++ b/new.go
@@ -20,7 +20,8 @@ func New(p *gui.Node, path string) *RepoStatus {
rs.ready = true
rs.draw()
rs.window.Custom = func() {
- rs.hidden = true
+ // rs.hidden = true
+ rs.Hide()
log.Warn("repostatus user closed the window()")
}
return rs