From 47d6f9d18711c6388e93b23bc8d9ac82b3e7adbf Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 16 Feb 2008 12:04:12 +0100 Subject: Refreshing the free disk space display when leaving a Recordings submenu --- menu.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/menu.c b/menu.c index 486eedb5..861b88f4 100644 --- a/menu.c +++ b/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.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; } -- cgit v1.2.3