Skip to content

Commit

Permalink
Remove tautology regarding selected tags filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
munahaf authored and openrefactory committed Mar 1, 2024
1 parent 2ecc997 commit 08783d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GTG/gtk/browser/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ def get_selected_tags(self, nospecial=False):
if self.tagtreeview:
taglist = self.tagtreeview.get_selected_nodes()
# If no selection, we display all
if not nospecial and (not taglist or len(taglist) < 0):
if not nospecial and (not taglist):
taglist = ['gtg-tags-all']
if nospecial:
special = ['gtg-tags-all', 'gtg-tags-none',
Expand Down

0 comments on commit 08783d2

Please sign in to comment.