diff options
Diffstat (limited to 'listWindow.go')
| -rw-r--r-- | listWindow.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/listWindow.go b/listWindow.go index 7aba7d7..091c9fa 100644 --- a/listWindow.go +++ b/listWindow.go @@ -41,10 +41,10 @@ type section struct { witRepos []*witRepo } -func listWindow() { +func listWindow() *gadgets.BasicWindow { if lw != nil { lw.Toggle() - return + return lw } lw = gadgets.NewBasicWindow(me.myGui, "go.wit.com repositories") lw.Custom = func() { @@ -89,6 +89,7 @@ func listWindow() { } } // lw.Toggle() + return lw } func downloadRepo(path string) bool { |
