diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 3ae88e2..5554547 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -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()