diff options
| author | Jeff Carr <[email protected]> | 2024-03-01 22:30:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-03-01 22:30:00 -0600 |
| commit | d0107ef03427e6ff8d10121566b3f8876de46077 (patch) | |
| tree | d539231ec3a91d8c877c21465e1bbad79c7d6518 | |
| parent | 4cd6ade0249767f49780a131192c8c969aae8432 (diff) | |
| -rw-r--r-- | globalDisplayOptions.go | 4 |
1 files changed, 1 insertions, 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() |
