From 46a89d211b0f37343aca870f80bb789cacb40d65 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 1 Oct 2005 10:13:27 +0200 Subject: Fixed an unjustified "Error while accessing recording!" after deleting a recording from a subfolder --- HISTORY | 2 ++ menu.c | 4 ++-- 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(); } -- cgit v1.2.3