diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 16:41:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 16:41:01 -0600 |
| commit | 1d6c67b46cc4d3ee137e3f4ddc6145841732cd7c (patch) | |
| tree | fe82242799f80c02aee692ab64c34a9c34ce688b /main.go | |
| parent | 2d118d3ae7399c435f8327c8fcee8240824d8edd (diff) | |
fix more of the logic errors
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -93,14 +93,6 @@ func main() { // create the right side of the main window createReleaseBox(me.mainBox) - // disable the open repo button. this isn't really important - // but does indicates the app (and toolkit) is working - // this can be removed later, but in these early days, I'm using this - // tool to release the code for this app, the gui and the gui toolkits - // and sometimes they lie, don't display stuff, don't even disable things - // so I can't trust even what I see. It's complicated right now still. - me.release.openrepo.Disable() - // disable the gui until the repos are scanned me.release.box.Disable() me.Disable() @@ -117,7 +109,6 @@ func main() { msg := fmt.Sprint("Can not run if pwd is not a repo", pwd) badExit(errors.New(msg)) } - me.Enable() // run this each time something gets published successfully rePrepareRelease() @@ -131,6 +122,8 @@ func main() { os.Exit(0) } } + me.Enable() + me.release.box.Enable() // intermittently scans the status indefinitly me.repos.View.Watchdog(func() { |
