From 1d9f693658fda6e76d6c473fce8aa42b07f1b898 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sun, 5 Aug 2007 15:21:47 +0000 Subject: [PATCH] Redraw the menu when stopping playback, in case the bookmarking code left something on screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14196 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 2 +- apps/misc.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/menu.c b/apps/menu.c index d690a2dcb0..22c155eea5 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -355,7 +355,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected) } else if (action == ACTION_TREE_STOP) { - list_stop_handler(); + redraw_lists = list_stop_handler(); } else if (action == ACTION_STD_CONTEXT && menu == &root_menu_) diff --git a/apps/misc.c b/apps/misc.c index acc1378ae5..83b0324ea3 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -709,6 +709,7 @@ bool list_stop_handler(void) fade(0); bookmark_autobookmark(); audio_stop(); + ret = true; /* bookmarking can make a refresh necessary */ } } #if CONFIG_CHARGING