Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always show tags with zero tasks #1100

Merged
merged 1 commit into from
May 12, 2024

Conversation

gycsaba96
Copy link
Contributor

Fixes #1007

The anomaly was caused by a lucky bug. TagEmptyFilter was checking for the wrong self.pane values except when Sidebar.__init__ created the object, thus filtering the tags with zero tasks only after startup.

Now, TagEmptyFilter checks for the correct self.pane values and considers the newly introduced show_zero field. (This field could be used in the future to show and hide tags with zero tasks.)

'TagEmptyFilter' checks for the correct 'self.pane' values
and considers the newly introduced 'show_zero' field.

This fixes GitHub issue getting-things-gnome#1007
@diegogangl
Copy link
Contributor

Ah yes, I recently hit in that difference in pane names again in another branch. We should fix that in the future
LGTM and merging, thanks!

@diegogangl diegogangl merged commit bfcb78a into getting-things-gnome:master May 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants