summaryrefslogtreecommitdiff
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)
1489 case allsubentries: 1489 case allsubentries:
1490 if (newextra == playtrack) 1490 if (newextra == playtrack)
1491 { 1491 {
1492 if (global_settings.party_mode && audio_status()) {
1493 splash(HZ, ID2P(LANG_PARTY_MODE));
1494 break;
1495 }
1492 c->dirlevel--; 1496 c->dirlevel--;
1493 /* about to create a new current playlist... 1497 /* about to create a new current playlist...
1494 allow user to cancel the operation */ 1498 allow user to cancel the operation */