move button
This commit is contained in:
parent
7db796ae85
commit
bd92626107
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue