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
This commit is contained in:
parent
fc390af3e8
commit
5b4307ed0c
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue