mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- moviebrowser: fix deletion of non-marked movies via mute-key
(cherry picked from commit 895aa1ca8cbd6ecf4f254c361a6bec633e9483f1) 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;
|
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();
|
||||||
|
Reference in New Issue
Block a user