diff options
-rw-r--r-- | apps/onplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 83b24da78d..f8233da92c 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -778,6 +778,7 @@ static int treeplaylist_callback(int action, | |||
778 | 778 | ||
779 | void onplay_show_playlist_menu(char* path) | 779 | void onplay_show_playlist_menu(char* path) |
780 | { | 780 | { |
781 | context = CONTEXT_STD; | ||
781 | selected_file = path; | 782 | selected_file = path; |
782 | if (dir_exists(path)) | 783 | if (dir_exists(path)) |
783 | selected_file_attr = ATTR_DIRECTORY; | 784 | selected_file_attr = ATTR_DIRECTORY; |
@@ -825,6 +826,7 @@ MAKE_ONPLAYMENU(cat_playlist_menu, ID2P(LANG_CATALOG), | |||
825 | 826 | ||
826 | void onplay_show_playlist_cat_menu(char* track_name) | 827 | void onplay_show_playlist_cat_menu(char* track_name) |
827 | { | 828 | { |
829 | context = CONTEXT_STD; | ||
828 | selected_file = track_name; | 830 | selected_file = track_name; |
829 | selected_file_attr = FILE_ATTR_AUDIO; | 831 | selected_file_attr = FILE_ATTR_AUDIO; |
830 | do_menu(&cat_playlist_menu, NULL, NULL, false); | 832 | do_menu(&cat_playlist_menu, NULL, NULL, false); |