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
(cherry picked from commit15e33337a6
) 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 commit15e33337a6
) Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user