better prepare-release button
This commit is contained in:
parent
3502ea0b5b
commit
76268a71bb
|
@ -93,6 +93,8 @@ func globalDisplayOptions(box *gui.Node) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
grid.NewButton("make prepare-release", func() {
|
grid.NewButton("make prepare-release", func() {
|
||||||
|
me.Disable()
|
||||||
|
defer me.Enable()
|
||||||
loop := me.repos.View.ReposSortByName()
|
loop := me.repos.View.ReposSortByName()
|
||||||
for loop.Scan() {
|
for loop.Scan() {
|
||||||
repo := loop.Repo()
|
repo := loop.Repo()
|
||||||
|
@ -106,6 +108,10 @@ func globalDisplayOptions(box *gui.Node) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
findNext()
|
findNext()
|
||||||
|
if setAllBranchesToMaster() {
|
||||||
|
// if it succeeds, disable this button
|
||||||
|
me.setBranchesToMasterB.Disable()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
grid.NextRow()
|
grid.NextRow()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue