diff options
-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) | |||
1890 | if (selected_file_attr & ATTR_VOLUME) | 1890 | if (selected_file_attr & ATTR_VOLUME) |
1891 | return false; | 1891 | return false; |
1892 | #endif | 1892 | #endif |
1893 | |||
1894 | #ifdef HAVE_TAGCACHE | ||
1895 | if (context == CONTEXT_ID3DB && | ||
1896 | (selected_file_attr & FILE_ATTR_MASK) != FILE_ATTR_AUDIO) | ||
1897 | return false; | ||
1898 | #endif | ||
1899 | |||
1893 | return delete_file_dir(); | 1900 | return delete_file_dir(); |
1894 | } | 1901 | } |
1895 | 1902 | ||