compiles but fails
This commit is contained in:
parent
4cd6ade024
commit
d0107ef034
|
@ -51,9 +51,7 @@ func globalDisplayOptions(vbox *gui.Node) {
|
||||||
}
|
}
|
||||||
scanbox := group1.Box().Horizontal()
|
scanbox := group1.Box().Horizontal()
|
||||||
me.autoScanReposCB = scanbox.NewCheckbox("auto scan").SetChecked(true)
|
me.autoScanReposCB = scanbox.NewCheckbox("auto scan").SetChecked(true)
|
||||||
me.autoScanReposCB.Custom = func() {
|
|
||||||
me.repos.View.SetAutoScan(me.autoScanReposCB.Checked())
|
|
||||||
}
|
|
||||||
scanbox.NewButton("scan now", func() {
|
scanbox.NewButton("scan now", func() {
|
||||||
log.Info("re-scanning repos now")
|
log.Info("re-scanning repos now")
|
||||||
i, s := me.repos.View.ScanRepositories()
|
i, s := me.repos.View.ScanRepositories()
|
||||||
|
|
Loading…
Reference in New Issue