From 15e33337a6982fa0a206a319636c84f66d9a0cf2 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 26 Jun 2017 11:49:17 +0200 Subject: [PATCH] moviebrowser: fix deletion of non-marked movies via mute-key Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/895aa1ca8cbd6ecf4f254c361a6bec633e9483f1 Author: vanhofen Date: 2017-06-26 (Mon, 26 Jun 2017) Origin message was: ------------------ - moviebrowser: fix deletion of non-marked movies via mute-key --- src/gui/moviebrowser/mb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 63d0912c8..88226cbd5 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -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();