attempt hide, but it doesn't get to the plugin

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-16 05:00:01 -06:00
parent 3b14d5a124
commit a85b161d64
1 changed files with 23 additions and 0 deletions

View File

@ -118,4 +118,27 @@ func globalBuildOptions(box *gui.Node) {
repo.newScan() repo.newScan()
} }
}) })
groupvbox.NewButton("hide perfect", func () {
for _, repo := range allrepos {
if repo.dirtyLabel.GetText() == "PERFECT" {
repo.hide()
}
return
}
})
}
func (r *repo) hide() {
r.pLabel.Hide()
r.lastTag.Hide()
r.vLabel.Hide()
r.masterName.Hide()
r.masterVersion.Hide()
r.develName.Hide()
r.develVersion.Hide()
r.userName.Hide()
r.userVersion.Hide()
r.dirtyLabel.Hide()
} }