Commit a23a89c2 authored by Marinus Schraal's avatar Marinus Schraal
Browse files

albumsview: Only update on init

Runtime updates are broken in AlbumsView.
Make sure updates are disabled after initial population.
parent b138034d
Pipeline #10869 passed with stage
in 56 seconds
......@@ -61,7 +61,6 @@ class AlbumsView(BaseView):
def _on_changes_pending(self, data=None):
if (self._init and not self._header_bar.selection_mode):
self._offset = 0
self._init = True
GLib.idle_add(self.populate)
grilo.changes_pending['Albums'] = False
......@@ -154,6 +153,7 @@ class AlbumsView(BaseView):
priority=GLib.PRIORITY_LOW)
self._window.notifications_popup.pop_loading()
self._init = False
def _create_album_item(self, item):
artist = utils.get_artist_name(item)
......
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