Skip to content

Commit

Permalink
Further simplify check in get_selected_tags
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin <[email protected]>
  • Loading branch information
diegogangl and SqAtx committed Apr 26, 2024
1 parent 2275a5c commit cf9dc27
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 @@ -1468,7 +1468,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):
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 cf9dc27

Please sign in to comment.