From ff2e9bdf7244d9b0d334ac6456d85498068a7797 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 21 Dec 2008 09:58:11 +0000 Subject: fix FS#9687 - 'set song rating' should not be shown if the DB isnt useable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19523 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/onplay.c b/apps/onplay.c index 234f3cc408..42924a18a0 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -966,7 +966,8 @@ static int ratingitem_callback(int action,const struct menu_item_ex *this_item) switch (action) { case ACTION_REQUEST_MENUITEM: - if (!selected_file || !global_settings.runtimedb) + if (!selected_file || !global_settings.runtimedb || + !tagcache_is_usable()) return ACTION_EXIT_MENUITEM; break; } -- cgit v1.2.3