summaryrefslogtreecommitdiff
path: root/submitPatches.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-14 13:43:43 -0600
committerJeff Carr <[email protected]>2024-02-14 13:43:43 -0600
commit61af996b847a339521ee7e9933cf04d59317668b (patch)
tree7830736d6e53e1b77000cf29fee2864d2d7d22a6 /submitPatches.go
parent55b175e2daee5bbaebf3fb58b8943aedfe2e9660 (diff)
update summary statistics
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() {