diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 683a685..33fc4a5 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -45,7 +45,7 @@ func globalDisplayOptions(box *gui.Node) { */ me.autoHideReadOnly = group1.NewCheckbox("Hide read-only repos").SetChecked(true) - me.autoHidePerfect.Custom = func() { + me.autoHideReadOnly.Custom = func() { if me.autoHideReadOnly.Checked() { for _, repo := range me.allrepos { if repo.status.ReadOnly() {