summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/onplay.c3
1 files changed, 2 insertions, 1 deletions
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)
966 switch (action) 966 switch (action)
967 { 967 {
968 case ACTION_REQUEST_MENUITEM: 968 case ACTION_REQUEST_MENUITEM:
969 if (!selected_file || !global_settings.runtimedb) 969 if (!selected_file || !global_settings.runtimedb ||
970 !tagcache_is_usable())
970 return ACTION_EXIT_MENUITEM; 971 return ACTION_EXIT_MENUITEM;
971 break; 972 break;
972 } 973 }