summaryrefslogtreecommitdiffstats
path: root/apps/tagtree.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-08-19 12:05:01 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-08-19 12:05:01 +0000
commita3b9bfc763e0918803329d2d7445ffc460024683 (patch)
treeb6e21fcadf63d653faa099873c28d8cc689fb633 /apps/tagtree.c
parentddc2176b4d77c96e1f223dc5d1e38241f3ab6ffe (diff)
downloadrockbox-a3b9bfc763e0918803329d2d7445ffc460024683.tar.gz
rockbox-a3b9bfc763e0918803329d2d7445ffc460024683.zip
dont let the database create a new playlist when party mode is on. (fixes FS#8292)
its not consistant with the filebrowser though, i.e you have to open the context menu for the item to add it to the playlist (whereas in the filebrowser it automatically gets queued if its selected) still better than ignoreing the setting though git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18316 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index ce562b78e9..5415610501 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -1489,6 +1489,10 @@ int tagtree_enter(struct tree_context* c)
case allsubentries:
if (newextra == playtrack)
{
+ if (global_settings.party_mode && audio_status()) {
+ splash(HZ, ID2P(LANG_PARTY_MODE));
+ break;
+ }
c->dirlevel--;
/* about to create a new current playlist...
allow user to cancel the operation */