forked from len0rd/rockbox
Fix FS#10433 - "Play Next" should use the "warn on playlist change" setting like the rest of the options that erase the playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24064 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
069bafe215
commit
74d1c31baf
1 changed files with 2 additions and 0 deletions
|
|
@ -317,6 +317,8 @@ MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_PLAYLIST),
|
||||||
/* CONTEXT_[TREE|ID3DB] playlist options */
|
/* CONTEXT_[TREE|ID3DB] playlist options */
|
||||||
static int playlist_insert_func(void *param)
|
static int playlist_insert_func(void *param)
|
||||||
{
|
{
|
||||||
|
if (((intptr_t)param == PLAYLIST_REPLACE) && !warn_on_pl_erase())
|
||||||
|
return 0;
|
||||||
add_to_playlist((intptr_t)param, false);
|
add_to_playlist((intptr_t)param, false);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue