[gnome-music/wip/mschraal/coremodel-variable-name-fix] coremodel: Correct variable name
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/coremodel-variable-name-fix] coremodel: Correct variable name
- Date: Mon, 17 Aug 2020 22:46:00 +0000 (UTC)
commit f1273198bf1bb21634964ff1140cdc6e757e52e9
Author: Marinus Schraal <mschraal gnome org>
Date: Tue Aug 18 00:37:18 2020 +0200
coremodel: Correct variable name
Commit 0f0e69ba0e renamed some variables, commit 9b89bdac29
accidentally reintroduced one of the old names. This resulted in a crash
while trying to play songs from a search.
gnomemusic/coremodel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/coremodel.py b/gnomemusic/coremodel.py
index 207a844c..7d8f8173 100644
--- a/gnomemusic/coremodel.py
+++ b/gnomemusic/coremodel.py
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]