compiles but fails

This commit is contained in:
Jeff Carr 2024-03-01 22:30:00 -06:00
parent 4cd6ade024
commit d0107ef034
1 changed files with 1 additions and 3 deletions

View File

@ -51,9 +51,7 @@ func globalDisplayOptions(vbox *gui.Node) {
}
scanbox := group1.Box().Horizontal()
me.autoScanReposCB = scanbox.NewCheckbox("auto scan").SetChecked(true)
me.autoScanReposCB.Custom = func() {
me.repos.View.SetAutoScan(me.autoScanReposCB.Checked())
}
scanbox.NewButton("scan now", func() {
log.Info("re-scanning repos now")
i, s := me.repos.View.ScanRepositories()