change the button text after click
This commit is contained in:
parent
17067da936
commit
0a42976595
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue