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

(cherry picked from commit 15e33337a6)
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 2f8ae15b66
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-26 (Mon, 26 Jun 2017)

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

(cherry picked from commit 15e33337a6)
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
vanhofen
2017-06-26 20:53:12 +02:00
committed by Thilo Graf
parent 842164614d
commit 30f56a7edc

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();