attempt GUI update on window Show()

This commit is contained in:
Jeff Carr 2025-01-30 11:31:22 -06:00
parent e1f37c79ce
commit a2c761f055
1 changed files with 10 additions and 1 deletions

View File

@ -48,6 +48,15 @@ func (r *repoWindow) Show() {
r.mergeMaster.Enable()
}
log.Info("TODO: update the rows")
loop := r.View.ReposSortByName()
for loop.Scan() {
// var repo *repolist.RepoRow
view := loop.Repo()
if view.Hidden() {
continue
}
view.Update()
}
}
func (r *repoWindow) Hide() {
@ -127,7 +136,7 @@ func (r *repoWindow) repoMenu() *gui.Node {
break
}
me.forge.SetConfigSave(true)
repo.Reload()
repo.Reload() // move this to gitpb
view.Update()
}
me.forge.ConfigSave()