Skip to content

Commit

Permalink
Show saved searches as disabled
Browse files Browse the repository at this point in the history
ref #282
  • Loading branch information
diegogangl committed Apr 11, 2020
1 parent 29eb2f5 commit a91797c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GTG/gtk/browser/treeview_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def tag_name(self, node):

if node.get_attribute("nonworkview") == "True":
return f"<span color='{self.unactive_color}'>{label}</span>"
elif node.get_id() == 'search' and not node.get_children():
return f"<span color='{self.unactive_color}'>{label}</span>"
else:
return label

Expand Down

0 comments on commit a91797c

Please sign in to comment.