summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
})