mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Fix: Root dir bookmarks displayed for dynamic playlist
When the 'List bookmarks' button or hotkey was pressed, while a dynamic playlist was playing, bookmarks from the root dir were displayed, if any existed. Change-Id: If104ad4b717fd188174069457deb27d21399b9bb
This commit is contained in:
parent
42a9582cc1
commit
c31234bc32
1 changed files with 9 additions and 0 deletions
|
@ -1187,6 +1187,15 @@ int bookmark_load_menu(void)
|
||||||
char* bookmark;
|
char* bookmark;
|
||||||
int ret = BOOKMARK_FAIL;
|
int ret = BOOKMARK_FAIL;
|
||||||
|
|
||||||
|
/* To prevent root dir ("/") bookmarks from being displayed
|
||||||
|
when 'List Bookmarks' hotkey or button is pressed, check:
|
||||||
|
*/
|
||||||
|
if (playlist_dynamic_only())
|
||||||
|
{
|
||||||
|
splash(HZ, ID2P(LANG_BOOKMARK_LOAD_EMPTY));
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
push_current_activity(ACTIVITY_BOOKMARKSLIST);
|
push_current_activity(ACTIVITY_BOOKMARKSLIST);
|
||||||
|
|
||||||
char* name = playlist_get_name(NULL, global_temp_buffer,
|
char* name = playlist_get_name(NULL, global_temp_buffer,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue