This commit is contained in:
Jeff Carr 2025-03-04 21:04:57 -06:00
parent 0529b0dca0
commit f01423a151
1 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,6 @@ func makeReposWin() *gadgets.GenericWindow {
log.Info("test delete window here")
}
grid := insertWin.Group.RawGrid()
var t *gitpb.ReposTable
found := new(gitpb.Repos)
all := me.forge.Repos.SortByFullPath()
for all.Scan() {
@ -107,11 +106,14 @@ func makeReposWin() *gadgets.GenericWindow {
found.AppendByGoPath(repo)
}
var t *gitpb.ReposTable
grid.NewButton("insert table", func() {
// make the window for the first time
t = addWindowPB(insertWin, found)
log.Info("table has uuid", t.GetUuid())
})
grid.NewButton("attempt to delete table", func() {
t.Delete()
})