aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index d24eaa0..3ce121e 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -124,6 +124,10 @@ public class PlayerController : GLib.Object
foreach(PlayerItem item in this.custom_items){
this.root_menu.child_delete(item);
}
+ if (this.use_playlists == true){
+ PlaylistsMenuitem playlists_menuitem = this.custom_items[widget_order.PLAYLISTS] as PlaylistsMenuitem;
+ this.root_menu.child_delete (playlists_menuitem.root_item);
+ }
}
public void hibernate()