summaryrefslogtreecommitdiff
path: root/submitPatches.go
diff options
context:
space:
mode:
Diffstat (limited to 'submitPatches.go')
-rw-r--r--submitPatches.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/submitPatches.go b/submitPatches.go
index 5507b1e..ee4051b 100644
--- a/submitPatches.go
+++ b/submitPatches.go
@@ -47,16 +47,12 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
group1 := box.NewGroup("Submit Patches Summary")
s.grid = group1.RawGrid()
- s.updateB = s.grid.NewButton("Update Stats", func() {
- // globalDisplaySetRepoState()
- // reposwin.Toggle()
- s.Update()
- })
-
s.grid.NewButton("List Patches", func() {
for i, p := range s.allp {
log.Info(i, p.ref, p.rs.String())
}
+ // update the stats
+ s.Update()
})
s.gitPullB = s.grid.NewButton("git pull", func() {
@@ -75,6 +71,8 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
}
}
s.gitPullB.SetText("GOOD")
+ // update the stats
+ s.Update()
})
s.gitPushB = s.grid.NewButton("git push", func() {
@@ -92,6 +90,8 @@ func submitPatchesBox(box *gui.Node) *patchSummary {
}
}
s.gitPushB.SetText("GOOD")
+ // update the stats
+ s.Update()
})
s.checkB = s.grid.NewButton("Check repos are working", func() {