Commit f1273198 authored by Marinus Schraal's avatar Marinus Schraal

coremodel: Correct variable name

Commit 0f0e69ba renamed some variables, commit 9b89bdac
accidentally reintroduced one of the old names. This resulted in a crash
while trying to play songs from a search.
parent 9eb54e36
Pipeline #205699 passed with stages
in 9 minutes and 9 seconds
......@@ -333,7 +333,7 @@ class CoreModel(GObject.GObject):
# Otherwise, it's a list of songs from the songs view.
elif self._search.props.search_mode_active:
playlist_type = PlayerPlaylist.Type.SEARCH_RESULT
model = self._song_search_flatten
model = self._songs_search_flatten
else:
playlist_type = PlayerPlaylist.Type.SONGS
model = self._songs_model
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment