[gnome-music/wip/mschraal/searchview-fix-artists] searchview: Fix artist crash



commit b300d4767652c723aba5a2b51bde49879d921d4e
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Mar 31 22:27:28 2020 +0200

    searchview: Fix artist crash
    
    ArtistAlbumsWidget lost an argument in 473ece6f22bc. The call in
    SearchView was not yet updated, resulting in a crash.
    
    Fix the ArtistAlbumsWidget call.

 gnomemusic/views/searchview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index 306392fa..ccd80e0d 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -354,7 +354,7 @@ class SearchView(Gtk.Stack):
             return
 
         artist_albums_widget = ArtistAlbumsWidget(
-            coreartist, self._application, True)
+            coreartist, self._application)
         # FIXME: Recreating a view here. Alternate solution is used
         # in AlbumsView: one view created and an update function.
         # Settle on one design.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]