summaryrefslogtreecommitdiff
path: root/windowRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-04 21:04:57 -0600
committerJeff Carr <[email protected]>2025-03-04 21:04:57 -0600
commitf01423a1513f0d4ef685d4992ee6bc1ad1f980d5 (patch)
tree0c3540df70c236cb32123ea5b1f5f7d589b76626 /windowRepos.go
parent0529b0dca08efddf0591ebf3a1bf11a303f10277 (diff)
minor
Diffstat (limited to 'windowRepos.go')
-rw-r--r--windowRepos.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/windowRepos.go b/windowRepos.go
index 5d619d5..3804b18 100644
--- a/windowRepos.go
+++ b/windowRepos.go
@@ -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()
})