From ceeab4c0d2bc72b9bd06f58052ee16cf834b1890 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 24 Jan 2024 22:22:34 -0600 Subject: working on release versioning Signed-off-by: Jeff Carr --- globalDisplayOptions.go | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'globalDisplayOptions.go') diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index a694958..2f957cc 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -27,15 +27,18 @@ func globalDisplayOptions(box *gui.Node) { log.Info("Toggling the Release Window") release.win.Toggle() release.openrepo.Disable() + for _, repo := range me.allrepos { + repo.newScan() + } }) /* group1.NewButton("hide all", func() { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { repo.Hide() } }) group1.NewButton("show all", func() { - for repo, _ := range me.allrepos { + for repo := range me.allrepos { repo.Show() } }) @@ -44,26 +47,26 @@ func globalDisplayOptions(box *gui.Node) { me.autoHidePerfect = group1.NewCheckbox("Hide Perfectly clean repos").SetChecked(false) me.autoHidePerfect.Custom = func() { if me.autoHidePerfect.Checked() { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { if repo.dirtyLabel.String() == "PERFECT" { repo.Hide() } } } else { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { repo.Show() } } } group1.NewButton("status.Update() all", func() { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { repo.status.Update() } }) group1.NewButton("rescan all", func() { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { repo.newScan() } }) @@ -79,7 +82,7 @@ func globalDisplayOptions(box *gui.Node) { } func hidePerfect() { - for repo, _ := range me.allrepos { + for _, repo := range me.allrepos { if repo.dirtyLabel.String() == "PERFECT" { if repo.hidden { continue -- cgit v1.2.3