- moviebrowser: fix deletion of non-marked movies via mute-key

(cherry picked from commit 895aa1ca8cbd6ecf4f254c361a6bec633e9483f1)
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-06-26 20:53:12 +02:00
committed by Thilo Graf
parent 033d6bb359
commit 2f8ae15b66

View File

@@ -2480,7 +2480,7 @@ bool CMovieBrowser::onDelete(bool cursor_only)
MI_MOVIE_INFO *movieinfo;
movieinfo = NULL;
if (cursor_only)
if (cursor_only || (filelist.empty() || movielist.empty()))
{
filelist.clear();
movielist.clear();