auto-hide on repo window open

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-25 22:21:25 -06:00
parent c488fcaf6c
commit 44a21ff15b
1 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@ func globalDisplayOptions(box *gui.Node) {
group1 := vbox.NewGroup("Global Display Options")
group1.NewButton("Show Repository Window", func() {
globalDisplayHide()
reposwin.Toggle()
})
group1.NewButton("Create Release Window", func() {
@ -84,7 +85,7 @@ func globalDisplayOptions(box *gui.Node) {
}
}
me.autoHidePerfect = group1.NewCheckbox("Hide Perfectly clean repos").SetChecked(false)
me.autoHidePerfect = group1.NewCheckbox("Hide Perfectly clean repos").SetChecked(true)
me.autoHidePerfect.Custom = func() {
if me.autoHidePerfect.Checked() {
globalDisplayHide()