Skip to content

Commit

Permalink
even more clear comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesivsm committed Jan 9, 2021
1 parent 3ccccd3 commit e88bd8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GTG/gtk/browser/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,9 @@ def _reapply_filter(self, current_pane):
if sorted(filters) != sorted(vtree.list_applied_filters()):
vtree.reset_filters(refresh=False)
# Browsing and applying filters. For performance optimization, only
# allowing liblarch to trigger a refresh on last item.
# allowing liblarch to trigger a refresh on last item. This way the
# refresh is never triggered more than once and we let the possibility
# to liblarch not to trigger refresh is filters did not change.
for filter_ in filters:
is_last = filter_ == filters[-1]
if filter_ == SEARCH_TAG:
Expand Down

0 comments on commit e88bd8f

Please sign in to comment.