From d0107ef03427e6ff8d10121566b3f8876de46077 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 1 Mar 2024 22:30:00 -0600 Subject: [PATCH] compiles but fails --- globalDisplayOptions.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()