Refreshing the free disk space display when leaving a Recordings submenu

This commit is contained in:
Klaus Schmidinger 2008-02-16 12:04:12 +01:00
parent 856c1953c4
commit 47d6f9d187
1 changed files with 7 additions and 3 deletions

10
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.475 2008/02/15 16:06:56 kls Exp $
* $Id: menu.c 1.476 2008/02/16 12:04:12 kls Exp $
*/
#include "menu.h"
@ -2163,8 +2163,12 @@ eOSState cMenuRecordings::ProcessKey(eKeys Key)
return osBack;
Display();
}
if (!HasSubMenu() && Key != kNone)
SetHelpKeys();
if (!HasSubMenu()) {
if (HadSubMenu)
SetFreeDiskDisplay();
if (Key != kNone)
SetHelpKeys();
}
return state;
}