Skip to content

Commit

Permalink
W simplify tag completion
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogangl committed Jul 10, 2022
1 parent 4867ead commit b4405ef
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions GTG/gtk/tag_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ def _on_tag_added(self, tag):

tag = normalize_unicode(tag)
self._try_insert(tag)
self._try_insert('!' + tag)
self._try_insert(tag[1:])
self._try_insert('!' + tag[1:])


def _try_delete(self, name):
Expand All @@ -123,6 +120,3 @@ def _on_tag_deleted(self, tag, path):

tag = normalize_unicode(tag)
self._try_delete(tag)
self._try_delete('!' + tag)
self._try_delete(tag[1:])
self._try_delete('!' + tag[1:])

0 comments on commit b4405ef

Please sign in to comment.