From 5b4307ed0c341cad2ad5b95b2b205a68743e4716 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Sun, 19 Mar 2006 12:09:41 +0000 Subject: Don't warn about modifying the dynamic playlist in Party Mode. Also changed message to queue last, not insert last. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9115 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetree.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/filetree.c b/apps/filetree.c index 846e707112..bbe56e119c 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -354,7 +354,7 @@ int ft_enter(struct tree_context* c) /* about to create a new current playlist... allow user to cancel the operation */ - if (global_settings.warnon_erase_dynplaylist && + if (global_settings.warnon_erase_dynplaylist && playlist_modified(NULL)) { char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; @@ -381,6 +381,7 @@ int ft_enter(struct tree_context* c) /* about to create a new current playlist... allow user to cancel the operation */ if (global_settings.warnon_erase_dynplaylist && + !global_settings.party_mode && playlist_modified(NULL)) { char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; @@ -393,7 +394,7 @@ int ft_enter(struct tree_context* c) if (global_settings.party_mode) { playlist_insert_track(NULL, buf, PLAYLIST_INSERT_LAST, true); - gui_syncsplash(HZ, true, str(LANG_INSERT_LAST)); + gui_syncsplash(HZ, true, str(LANG_QUEUE_LAST)); } else if (playlist_create(c->currdir, NULL) != -1) { -- cgit v1.2.3