diff options
Diffstat (limited to 'releaseBox.go')
| -rw-r--r-- | releaseBox.go | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/releaseBox.go b/releaseBox.go index 128485d..5dcaa63 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -76,17 +76,18 @@ func createReleaseBox(box *gui.Node) { me.Enable() }) release.grid.NewButton("findNextDirty()", func() { - me.Disable() - defer me.Enable() - if findNextDirty("PRIMATIVE") { - log.Info("findNextDirty() found a repo") - return - } - if findNextDirty("") { - log.Info("findNextDirty() found a repo") - return - } + me.Disable() + defer me.Enable() + if findNextDirty("PRIMATIVE") { + log.Info("findNextDirty() found a repo") + return + } + if findNextDirty("") { + log.Info("findNextDirty() found a repo") + return + } }) + release.grid.NextRow() release.releaseVersionB = release.grid.NewButton("release version", func() { buttonDisable() @@ -97,15 +98,14 @@ func createReleaseBox(box *gui.Node) { log.Info("doRelease() failed") } }) + release.grid.NextRow() - release.openrepo = release.grid.NewButton("open repo", func() { + release.repo = gadgets.NewOneLiner(release.grid, "repo") + release.openrepo = release.grid.NewButton("Configure", func() { release.current.Status.Toggle() }) release.openrepo.Disable() release.grid.NextRow() - - release.repo = gadgets.NewOneLiner(release.grid, "repo") - release.grid.NextRow() release.status = gadgets.NewOneLiner(release.grid, "status") release.grid.NextRow() release.readOnly = gadgets.NewOneLiner(release.grid, "read-only") |
