summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-01 10:13:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-01 10:13:27 +0200
commit46a89d211b0f37343aca870f80bb789cacb40d65 (patch)
treea8a27ae1a99f1bc4308b47680c56af3946c5bdbe
parent8f6bfd1ae7bcee4d8304aac3d8244977e06bd711 (diff)
downloadvdr-46a89d211b0f37343aca870f80bb789cacb40d65.tar.gz
vdr-46a89d211b0f37343aca870f80bb789cacb40d65.tar.bz2
Fixed an unjustified "Error while accessing recording!" after deleting a recording from a subfolder
-rw-r--r--HISTORY2
-rw-r--r--menu.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index e816419b..2e3afdc9 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3856,3 +3856,5 @@ Video Disk Recorder Revision History
this one).
- Fixed opening recording folders in case the last replayed recording no longer
exists (reported by Udo Richter).
+- Fixed an unjustified "Error while accessing recording!" after deleting a recording
+ from a subfolder.
diff --git a/menu.c b/menu.c
index 4d5b9792..bcc4e4b0 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.363 2005/10/01 10:09:35 kls Exp $
+ * $Id: menu.c 1.364 2005/10/01 10:12:32 kls Exp $
*/
#include "menu.h"
@@ -1557,7 +1557,7 @@ void cMenuRecordings::Set(bool Refresh)
if (Refresh) {
cMenuRecordingItem *ri = (cMenuRecordingItem *)Get(Current());
if (ri) {
- cRecording *Recording = GetRecording(ri);
+ cRecording *Recording = Recordings.GetByName(ri->FileName());
if (Recording)
CurrentRecording = Recording->FileName();
}