diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2007-08-05 15:21:47 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2007-08-05 15:21:47 +0000 |
commit | 1d9f693658fda6e76d6c473fce8aa42b07f1b898 (patch) | |
tree | 40338809cfbaaff507c57798a00402af3ab08cc3 /apps | |
parent | 9d1e5e4d859f11bae4e6c90b570c9ccbb253451f (diff) | |
download | rockbox-1d9f693658fda6e76d6c473fce8aa42b07f1b898.tar.gz rockbox-1d9f693658fda6e76d6c473fce8aa42b07f1b898.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/menu.c | 2 | ||||
-rw-r--r-- | apps/misc.c | 1 |
2 files changed, 2 insertions, 1 deletions
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) | |||
355 | } | 355 | } |
356 | else if (action == ACTION_TREE_STOP) | 356 | else if (action == ACTION_TREE_STOP) |
357 | { | 357 | { |
358 | list_stop_handler(); | 358 | redraw_lists = list_stop_handler(); |
359 | } | 359 | } |
360 | else if (action == ACTION_STD_CONTEXT && | 360 | else if (action == ACTION_STD_CONTEXT && |
361 | menu == &root_menu_) | 361 | 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) | |||
709 | fade(0); | 709 | fade(0); |
710 | bookmark_autobookmark(); | 710 | bookmark_autobookmark(); |
711 | audio_stop(); | 711 | audio_stop(); |
712 | ret = true; /* bookmarking can make a refresh necessary */ | ||
712 | } | 713 | } |
713 | } | 714 | } |
714 | #if CONFIG_CHARGING | 715 | #if CONFIG_CHARGING |