Allow browser to voice the initial selection

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11123 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2006-10-04 20:12:51 +00:00
parent 812cbad890
commit ac39354b9e

View file

@ -647,7 +647,8 @@ static bool dirbrowse(void)
#endif
button = get_action(CONTEXT_TREE,HZ/5);
returned_button = gui_synclist_do_button(&tree_lists, button);
need_update = (bool)returned_button;
if (returned_button)
need_update = true;
if (returned_button == ACTION_STD_CANCEL)
button = ACTION_STD_CANCEL;