summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-08-17 05:40:14 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-08-17 05:40:14 +0000
commit10af966be2a489004b7d254476eb25f4ea9b0ef8 (patch)
tree3f763a4e1c593f645c3ec3ff198399a2a279febf /apps/screens.c
parent5fc66e58dd8a62099cfb1c3f7ae48d7115376be3 (diff)
stop id3 viewer eating keypress on entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 2a19b23c9f..d65f6ed457 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1116,9 +1116,10 @@ bool browse_id3(void)
gui_synclist_init(&id3_lists, &id3_get_info, id3, true, 2);
gui_synclist_set_nb_items(&id3_lists, ID3_ITEMS*2);
gui_synclist_draw(&id3_lists);
+ action_signalscreenchange();
while (true) {
- key = get_action(CONTEXT_STD,HZ/2);
- if(key!=ACTION_NONE && key!=ACTION_UNKNOWN && /* !(key&BUTTON_REL) && ?? */ !gui_synclist_do_button(&id3_lists, key))
+ key = get_action(CONTEXT_LIST,HZ/2);
+ if(key!=ACTION_NONE && key!=ACTION_UNKNOWN && !gui_synclist_do_button(&id3_lists, key))
{
action_signalscreenchange();
return(default_event_handler(key) == SYS_USB_CONNECTED);