diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-01 10:13:27 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-01 10:13:27 +0200 |
commit | 46a89d211b0f37343aca870f80bb789cacb40d65 (patch) | |
tree | a8a27ae1a99f1bc4308b47680c56af3946c5bdbe | |
parent | 8f6bfd1ae7bcee4d8304aac3d8244977e06bd711 (diff) | |
download | vdr-46a89d211b0f37343aca870f80bb789cacb40d65.tar.gz vdr-46a89d211b0f37343aca870f80bb789cacb40d65.tar.bz2 |
Fixed an unjustified "Error while accessing recording!" after deleting a recording from a subfolder
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | menu.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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. @@ -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(); } |