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:
parent
9056daae93
commit
a950f06e10
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue