[gnome-music/wip/mschraal/assorted-cleanups: 14/18] playlistcontrols: Set internal application var



commit 5cd1cdb7d786c248e66d9bc553a5b98039261d59
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Mar 26 15:14:51 2020 +0100

    playlistcontrols: Set internal application var
    
    Application was not actually set with the property setter.

 gnomemusic/widgets/playlistcontrols.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gnomemusic/widgets/playlistcontrols.py b/gnomemusic/widgets/playlistcontrols.py
index 4a517814..07cbddb2 100644
--- a/gnomemusic/widgets/playlistcontrols.py
+++ b/gnomemusic/widgets/playlistcontrols.py
@@ -81,6 +81,7 @@ class PlaylistControls(Gtk.Grid):
                     and self._application != application)):
             return
 
+        self._application = application
         self._coremodel = application.props.coremodel
         self._player = application.props.player
         self._window = application.props.window


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