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.NextRow()
|
||||||
|
|
||||||
grid.NewButton("increment tags", func() {
|
var incrementTags *gui.Node
|
||||||
|
incrementTags = grid.NewButton("increment tags", func() {
|
||||||
for _, repo := range me.repos.View.AllRepos() {
|
for _, repo := range me.repos.View.AllRepos() {
|
||||||
if whitelist(repo.GoPath()) {
|
if whitelist(repo.GoPath()) {
|
||||||
continue
|
continue
|
||||||
|
@ -154,6 +155,7 @@ func globalDisplayOptions(box *gui.Node) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
incrementTags.SetText("maybe done?")
|
||||||
})
|
})
|
||||||
grid.NextRow()
|
grid.NextRow()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue