minor
This commit is contained in:
parent
0529b0dca0
commit
f01423a151
|
@ -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()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue