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

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-06-26 11:49:17 +02:00
parent 4e42382842
commit 98dcedd452

View File

@@ -2584,7 +2584,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();