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

Origin commit data
------------------
Commit: 895aa1ca8c
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
This commit is contained in:
vanhofen
2017-06-26 11:49:17 +02:00
parent 3b84c0a7ae
commit 15e33337a6

View File

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