[gnome-music/wip/mschraal/albumwidget-pass-application: 4/4] albumsview: Fix internal variable call



commit 90936a7a154e552fbaf0df72af82747b8ca2a427
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Feb 13 17:10:55 2020 +0100

    albumsview: Fix internal variable call

 gnomemusic/views/albumsview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/albumsview.py b/gnomemusic/views/albumsview.py
index cd4c89f0..56c50ca9 100644
--- a/gnomemusic/views/albumsview.py
+++ b/gnomemusic/views/albumsview.py
@@ -67,7 +67,7 @@ class AlbumsView(Gtk.Stack):
         self._widget_counter = 1
         self._ctrl_hold = False
 
-        model = self._window._app.props.coremodel.props.albums_sort
+        model = self._application.props.coremodel.props.albums_sort
         self._flowbox.bind_model(model, self._create_widget)
         self._flowbox.set_hadjustment(self._scrolled_window.get_hadjustment())
         self._flowbox.set_vadjustment(self._scrolled_window.get_vadjustment())


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