libsaria: Don't always keep a set of visible songs

If the playlist isn't filtered there isn't much of a point in keeping
around a set of visible songs.
This commit is contained in:
Bryan Schumaker 2011-05-13 22:54:27 -04:00
parent 9056daae93
commit a950f06e10
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def filter(text):
visible = playlist.as_set().intersection(library.test_filter(text))
filtered = True
else:
visible = playlist.as_set()
visible = None
filtered = False
def is_visible(id):