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



commit e70f0c2dbbe2d174595a7188724b70cb5db68d2a
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]