move button

This commit is contained in:
Jeff Carr 2024-11-13 18:10:30 -06:00
parent 7db796ae85
commit bd92626107
2 changed files with 5 additions and 6 deletions

View File

@ -55,12 +55,6 @@ func globalDisplayOptions(vbox *gui.Node) {
}
os.Setenv("REPO_AUTO_SCAN", "true")
scanbox.NewButton("scan now", func() {
log.Info("re-scanning now")
i, s := me.repos.View.ScanRepositories()
log.Info("re-scanning done", i, "repos in", s)
})
var tagsW *tagWindow
group1.NewButton("git tags Window", func() {
if tagsW == nil {

View File

@ -121,6 +121,11 @@ func (r *repoWindow) repoMenu() *gui.Node {
}
}
})
box2.NewButton("scan now", func() {
log.Info("re-scanning now")
i, s := me.repos.View.ScanRepositories()
log.Info("re-scanning done", i, "repos in", s)
})
return box2
}