1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed an unjustified "Error while accessing recording!" after deleting a recording from a subfolder

This commit is contained in:
Klaus Schmidinger 2005-10-01 10:13:27 +02:00
parent 8f6bfd1ae7
commit 46a89d211b
2 changed files with 4 additions and 2 deletions

View File

@ -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
menu.c
View File

@ -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();
}