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:
parent
8f6bfd1ae7
commit
46a89d211b
2
HISTORY
2
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.
|
||||
|
4
menu.c
4
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user