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

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

8
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "menu.h"
@ -2163,8 +2163,12 @@ eOSState cMenuRecordings::ProcessKey(eKeys Key)
return osBack; return osBack;
Display(); Display();
} }
if (!HasSubMenu() && Key != kNone) if (!HasSubMenu()) {
if (HadSubMenu)
SetFreeDiskDisplay();
if (Key != kNone)
SetHelpKeys(); SetHelpKeys();
}
return state; return state;
} }