Commit 9a7fe0bd authored by Atharva Veer's avatar Atharva Veer Committed by Marinus Schraal

searchview: Fix incorrect object use

The artist FlowBox size allocator is incorrectly using the album FlowBox
object in one location, which in rare occasions can cause a crash.

Use the artist FlowBox object instead.
parent 6633ecea
Pipeline #176067 passed with stages
in 8 minutes and 28 seconds
......@@ -298,7 +298,7 @@ class SearchView(Gtk.Stack):
if nb_children == 0:
return
first_child = self._album_flowbox.get_child_at_index(0)
first_child = self._artist_flowbox.get_child_at_index(0)
# FIXME: It looks like it is possible that the widget is not
# yet created, resulting in a crash with first_child being
# None.
......
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