diff options
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 1451a60a16..e99cb4aa88 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -342,7 +342,7 @@ MENUITEM_FUNCTION(do_shutdown_item, 0, ID2P(LANG_SHUTDOWN), | |||
342 | do_shutdown, NULL, NULL, Icon_NOICON); | 342 | do_shutdown, NULL, NULL, Icon_NOICON); |
343 | #endif | 343 | #endif |
344 | MAKE_MENU(root_menu_, ID2P(LANG_ROCKBOX_TITLE), | 344 | MAKE_MENU(root_menu_, ID2P(LANG_ROCKBOX_TITLE), |
345 | NULL, Icon_Rockbox, | 345 | item_callback, Icon_Rockbox, |
346 | &bookmarks, &file_browser, | 346 | &bookmarks, &file_browser, |
347 | #ifdef HAVE_TAGCACHE | 347 | #ifdef HAVE_TAGCACHE |
348 | &db_browser, | 348 | &db_browser, |
@@ -365,6 +365,8 @@ int item_callback(int action, const struct menu_item_ex *this_item) | |||
365 | { | 365 | { |
366 | switch (action) | 366 | switch (action) |
367 | { | 367 | { |
368 | case ACTION_TREE_STOP: | ||
369 | return ACTION_REDRAW; | ||
368 | case ACTION_REQUEST_MENUITEM: | 370 | case ACTION_REQUEST_MENUITEM: |
369 | #if CONFIG_TUNER | 371 | #if CONFIG_TUNER |
370 | if (this_item == &fm) | 372 | if (this_item == &fm) |