[gnome-music/wip/jfelder/fix-playlist-renaming: 2/4] playlistcontrols: Fix playlist renaming
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/fix-playlist-renaming: 2/4] playlistcontrols: Fix playlist renaming
- Date: Tue, 7 Jan 2020 19:16:32 +0000 (UTC)
commit d4f56225540f04df0653b940b6bb91c4746316a3
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 9104f760..e85b4098 100644
--- a/gnomemusic/widgets/playlistcontrols.py
+++ b/gnomemusic/widgets/playlistcontrols.py
@@ -81,7 +81,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]