diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 96c2ddd4e3..4ef79fc220 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -1890,6 +1890,13 @@ static bool hotkey_delete_item(void) if (selected_file_attr & ATTR_VOLUME) return false; #endif + +#ifdef HAVE_TAGCACHE + if (context == CONTEXT_ID3DB && + (selected_file_attr & FILE_ATTR_MASK) != FILE_ATTR_AUDIO) + return false; +#endif + return delete_file_dir(); } |