fix FS#9687 - 'set song rating' should not be shown if the DB isnt useable

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_1@19554 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2008-12-22 01:08:13 +00:00
parent d3a3975d27
commit 0435fa0b26

View file

@ -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;
}