[gnome-music/wip/jfelder/fix-playlist-renaming: 11/13] playlistcontrols: Fix playlist renaming



commit ece4cc3f5ad99c0de4a8e33c4722bca99ace887c
Author: Jean Felder <jfelder src gnome org>
Date:   Tue Jan 7 20:01:25 2020 +0100

    playlistcontrols: Fix playlist renaming
    
    The rename method needs to be called.

 gnomemusic/widgets/playlistcontrols.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/playlistcontrols.py b/gnomemusic/widgets/playlistcontrols.py
index 888de539..4c03474c 100644
--- a/gnomemusic/widgets/playlistcontrols.py
+++ b/gnomemusic/widgets/playlistcontrols.py
@@ -103,7 +103,7 @@ class PlaylistControls(Gtk.Grid):
         if not new_name:
             return
 
-        self.props.playlist.props.title = new_name
+        self.props.playlist.rename(new_name)
         self._disable_rename_playlist()
 
     @log


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