summaryrefslogtreecommitdiff
path: root/globalDisplayOptions.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-23 07:47:37 -0600
committerJeff Carr <[email protected]>2024-02-23 07:47:37 -0600
commit0a42976595eff3714f9520a33da10486ef861546 (patch)
tree0f397c18c25a2ddd55635bdf0bba2ffc9cd50397 /globalDisplayOptions.go
parent17067da93604c2767afff7b67cff8a0421750690 (diff)
change the button text after click
Diffstat (limited to 'globalDisplayOptions.go')
-rw-r--r--globalDisplayOptions.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go
index c2a07dc..cec2202 100644
--- a/globalDisplayOptions.go
+++ b/globalDisplayOptions.go
@@ -121,7 +121,8 @@ func globalDisplayOptions(box *gui.Node) {
})
grid.NextRow()
- grid.NewButton("increment tags", func() {
+ var incrementTags *gui.Node
+ incrementTags = grid.NewButton("increment tags", func() {
for _, repo := range me.repos.View.AllRepos() {
if whitelist(repo.GoPath()) {
continue
@@ -154,6 +155,7 @@ func globalDisplayOptions(box *gui.Node) {
continue
}
}
+ incrementTags.SetText("maybe done?")
})
grid.NextRow()