Added check to ensure that TODOs all have an associated issue

This commit is contained in:
Sumner Evans
2020-02-20 20:45:37 -07:00
parent a160d6dbaa
commit a90217cd24
18 changed files with 157 additions and 127 deletions

View File

@@ -370,9 +370,9 @@ class PlaylistDetailPanel(Gtk.Overlay):
return max(row_score(key, row) for row in rows)
def playlist_song_list_search_fn(model, col, key, treeiter, data=None):
# TODO: this is very inefficient, it's slow when the result is
# close to the bottom of the list. Would be good to research what
# the default one does (maybe it uses an index?).
# TODO (#28): this is very inefficient, it's slow when the result
# is close to the bottom of the list. Would be good to research
# what the default one does (maybe it uses an index?).
max_score = max_score_for_key(
key, tuple(tuple(row[1:4]) for row in model))
row_max_score = row_score(key, tuple(model[treeiter][1:4]))