mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
d3a3975d27
commit
0435fa0b26
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue