diff options
Diffstat (limited to 'windowReposNew.go')
| -rw-r--r-- | windowReposNew.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/windowReposNew.go b/windowReposNew.go index 68c2178..2469205 100644 --- a/windowReposNew.go +++ b/windowReposNew.go @@ -69,12 +69,11 @@ func makeReposWinNew() *gadgets.GenericWindow { t.Delete() t = nil } - me.found = new(gitpb.Repos) - findReposWithPatches() - me.forge.PrintHumanTable(me.found) + found := findReposWithPatches() + me.forge.PrintHumanTable(found) // make the window for the first time - t = addWindowPB(insertWin, me.found) + t = addWindowPB(insertWin, found) f := func(repo *gitpb.Repo) { log.Info("got to ReposTable.Custom() id =", repo.GetGoPath(), repo.GetCurrentVersion()) } |
