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() {
|
||||
me.Disable()
|
||||
defer me.Enable()
|
||||
loop := me.repos.View.ReposSortByName()
|
||||
for loop.Scan() {
|
||||
repo := loop.Repo()
|
||||
|
@ -106,6 +108,10 @@ func globalDisplayOptions(box *gui.Node) {
|
|||
}
|
||||
}
|
||||
findNext()
|
||||
if setAllBranchesToMaster() {
|
||||
// if it succeeds, disable this button
|
||||
me.setBranchesToMasterB.Disable()
|
||||
}
|
||||
})
|
||||
grid.NextRow()
|
||||
|
||||
|
|
Loading…
Reference in New Issue