diff options
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 59b05a231e..50238446d6 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -652,12 +652,9 @@ enum playlist_viewer_result playlist_viewer_ex(const char* filename) | |||
652 | } | 652 | } |
653 | 653 | ||
654 | /* Timeout so we can determine if play status has changed */ | 654 | /* Timeout so we can determine if play status has changed */ |
655 | button = get_action(CONTEXT_TREE,HZ/2); | 655 | bool res = list_do_action(CONTEXT_LIST, HZ/2, |
656 | bool res = gui_synclist_do_button(&playlist_lists, | 656 | &playlist_lists, &button, LIST_WRAP_UNLESS_HELD)) |
657 | &button, | ||
658 | LIST_WRAP_UNLESS_HELD); | ||
659 | viewer.selected_track=gui_synclist_get_sel_pos(&playlist_lists); | 657 | viewer.selected_track=gui_synclist_get_sel_pos(&playlist_lists); |
660 | |||
661 | if (res) | 658 | if (res) |
662 | { | 659 | { |
663 | bool reload = playlist_buffer_needs_reload(&viewer.buffer, | 660 | bool reload = playlist_buffer_needs_reload(&viewer.buffer, |
@@ -841,8 +838,8 @@ bool search_playlist(void) | |||
841 | gui_synclist_draw(&playlist_lists); | 838 | gui_synclist_draw(&playlist_lists); |
842 | while (!exit) | 839 | while (!exit) |
843 | { | 840 | { |
844 | button = get_action(CONTEXT_LIST, HZ/4); | 841 | if (list_do_action(CONTEXT_LIST, HZ/4, |
845 | if (gui_synclist_do_button(&playlist_lists, &button, LIST_WRAP_UNLESS_HELD)) | 842 | &playlist_lists, &button, LIST_WRAP_UNLESS_HELD)) |
846 | continue; | 843 | continue; |
847 | switch (button) | 844 | switch (button) |
848 | { | 845 | { |