[gnome-music/wip/mschraal/gtk4: 32/80] playlistcontextmenu: Disable bind_model



commit db49859ab858b990429b30aef52224b4235843ad
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 15:50:48 2019 +0100

    playlistcontextmenu: Disable bind_model

 gnomemusic/widgets/playlistcontextmenu.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/playlistcontextmenu.py b/gnomemusic/widgets/playlistcontextmenu.py
index 27efbe2e..0a17ad71 100644
--- a/gnomemusic/widgets/playlistcontextmenu.py
+++ b/gnomemusic/widgets/playlistcontextmenu.py
@@ -43,7 +43,8 @@ class PlaylistContextMenu(Gtk.Popover):
         window = application.props.window
 
         self.props.relative_to = view
-        self.bind_model(self._song_menu, None)
+
+        # self.bind_model(self._song_menu, None)
 
         add_song = Gio.SimpleAction.new("add_song_to_playlist", None)
         window.add_action(add_song)


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