vdr-1.3.22 bugfix: delete recording above directory

Message ID 20050316004833.14ec4da5.cpunk@reactor.de
State New
Headers

Commit Message

Steffen Beyer March 15, 2005, 11:48 p.m. UTC
  Hello,

following problem: when deleting a recording which is followed by a
directory in the list of recordings, the directory gets the focus but the
help at the bottom of the screen stays unchanged and still shows four
options, instead of only "open".

It is necessary to update the help row between delete and OSD update,
patch attached.

Regards,
  

Patch

--- menu.c.orig	2005-03-16 00:25:16.000000000 +0100
+++ menu.c	2005-03-16 00:27:19.960873400 +0100
@@ -1619,6 +1619,7 @@ 
               cReplayControl::ClearLastReplayed(ri->FileName());
               cOsdMenu::Del(Current());
               Recordings.Del(recording);
+              SetHelpKeys();
               Display();
               if (!Count())
                  return osBack;