Fixed setting the colored button help after deleting a recording in case the next menu entry is a directory

This commit is contained in:
Klaus Schmidinger 2005-03-20 11:27:44 +01:00
parent ce0e97eb65
commit 456ded045c
3 changed files with 8 additions and 1 deletions

View File

@ -1302,3 +1302,7 @@ Roman Krenick
Ville Skyttä <ville.skytta@iki.fi>
for reporting several compiler warnings in gcc 4.0
Steffen Beyer <cpunk@reactor.de>
for fixing setting the colored button help after deleting a recording in case the next
menu entry is a directory

View File

@ -3467,3 +3467,5 @@ Video Disk Recorder Revision History
- Some fixes to avoid compiler warnings in gcc 4.0 (thanks to Ville Skyttä for reporting
these).
- Single shot timers are now reliably deleted when they have expired.
- Fixed setting the colored button help after deleting a recording in case the next
menu entry is a directory (thanks to Steffen Beyer).

3
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.346 2005/03/20 11:06:56 kls Exp $
* $Id: menu.c 1.347 2005/03/20 11:26:00 kls Exp $
*/
#include "menu.h"
@ -1633,6 +1633,7 @@ eOSState cMenuRecordings::Delete(void)
cReplayControl::ClearLastReplayed(ri->FileName());
cOsdMenu::Del(Current());
Recordings.Del(recording);
SetHelpKeys();
Display();
if (!Count())
return osBack;