summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-12-24 07:13:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-12-24 07:13:04 +0000
commiteeb1f3e25e5071cb338dd96cb9d30b6f9b6d45d2 (patch)
treea9397ef587552edd305a231f404d72189b950152 /apps/playlist_viewer.c
parent9e45b27e08ccd554e1e7080605e505ca066b4ae9 (diff)
downloadrockbox-eeb1f3e25e5071cb338dd96cb9d30b6f9b6d45d2.tar.gz
rockbox-eeb1f3e25e5071cb338dd96cb9d30b6f9b6d45d2.tar.bz2
rockbox-eeb1f3e25e5071cb338dd96cb9d30b6f9b6d45d2.zip
Accept FS#8321 by Lee Kang Hyuk
something about the wrong track being selected with a long playlist and playing the last song.. i dunno... its important to set the title of the lists before setting the selection anyway git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24108 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index dfd2515c95..0a247fa01d 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -621,8 +621,8 @@ bool playlist_viewer_ex(const char* filename)
global_settings.playlist_viewer_icons?
&playlist_callback_icons:NULL);
gui_synclist_set_nb_items(&playlist_lists, viewer.num_tracks);
- gui_synclist_select_item(&playlist_lists, viewer.selected_track);
gui_synclist_set_title(&playlist_lists, str(LANG_PLAYLIST), Icon_Playlist);
+ gui_synclist_select_item(&playlist_lists, viewer.selected_track);
gui_synclist_draw(&playlist_lists);
while (!exit)
{