diff options
| author | Jeff Carr <[email protected]> | 2024-12-04 15:35:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-04 15:35:48 -0600 |
| commit | 0463030e80f480f0d38989f4231db8b1651b40bc (patch) | |
| tree | 7c9da2db3130f939a7fd74864a54ac21474cc3b7 /globalDisplayOptions.go | |
| parent | 923160d70cd4f21896d6c57a39bdcce3e1ae0af6 (diff) | |
general improvements
Diffstat (limited to 'globalDisplayOptions.go')
| -rw-r--r-- | globalDisplayOptions.go | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 5554547..8d3db24 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -7,23 +7,25 @@ import ( ) func hideFunction(r *repolist.RepoRow) { - if r.Status.IsDirty() { - r.Show() - return - } - if me.autoHideReadOnly.Checked() { - if r.Status.ReadOnly() { - r.Hide() + /* + if r.Status.IsDirty() { + r.Show() return } - } - if me.autoHidePerfect.Checked() { - if r.IsPerfect() { - r.Hide() - return + if me.autoHideReadOnly.Checked() { + if r.Status.ReadOnly() { + r.Hide() + return + } } - } - r.Show() + if me.autoHidePerfect.Checked() { + if r.IsPerfect() { + r.Hide() + return + } + } + r.Show() + */ } func globalDisplayOptions(vbox *gui.Node) { |
