auto-hide on repo window open
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
c488fcaf6c
commit
44a21ff15b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue