mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user