diff options
| author | Jeff Carr <[email protected]> | 2024-02-07 13:04:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-07 13:04:25 -0600 |
| commit | 3d4e297db93544fe1380178ec4cb7fc286b2dc4c (patch) | |
| tree | 336af19e4c4bb665a585d252191c96e1d7419df8 /listWindow.go | |
| parent | a0147a9f4fcb979d0f15f74e7ff56430b0b60786 (diff) | |
reorg buttons
Signed-off-by: Jeff Carr <[email protected]>
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 { |
