summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-08-05 15:21:47 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-08-05 15:21:47 +0000
commit1d9f693658fda6e76d6c473fce8aa42b07f1b898 (patch)
tree40338809cfbaaff507c57798a00402af3ab08cc3 /apps
parent9d1e5e4d859f11bae4e6c90b570c9ccbb253451f (diff)
downloadrockbox-1d9f693658fda6e76d6c473fce8aa42b07f1b898.tar.gz
rockbox-1d9f693658fda6e76d6c473fce8aa42b07f1b898.tar.bz2
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.c2
-rw-r--r--apps/misc.c1
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)
}
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