might work?

This commit is contained in:
Jeff Carr 2024-11-29 22:38:02 -06:00
parent 6b8cd96636
commit 6b424b0e89
2 changed files with 5 additions and 8 deletions

View File

@ -6,7 +6,6 @@ import (
"go.wit.com/lib/debugger"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/gui/repolist"
"go.wit.com/log"
"go.wit.com/gui"
@ -56,13 +55,6 @@ func main() {
me.repos = makeRepoView()
me.repos.View = repolist.Init(me.forge, me.myGui)
me.repos.View.Enable()
// reads in the State of all the repos
// TODO: should not really be necessary directly after init()
me.repos.View.ScanRepositories()
// process everything on the command line
// may exit here
handleCmdLine()

View File

@ -56,6 +56,11 @@ func makeRepoView() *repoWindow {
r.topbox = r.repoMenu()
r.View = repolist.InitBox(me.forge, r.box)
r.View.Enable()
r.View.ScanRepositories()
/*
r.View = repolist.AutotypistView(r.box)