summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-16 12:04:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-16 12:04:12 +0100
commit47d6f9d18711c6388e93b23bc8d9ac82b3e7adbf (patch)
tree59576581f75d2bdf37d9c67b6e06f93a57b47509
parent856c1953c4715987e6832561d8ab2ee4da4aab6b (diff)
downloadvdr-47d6f9d18711c6388e93b23bc8d9ac82b3e7adbf.tar.gz
vdr-47d6f9d18711c6388e93b23bc8d9ac82b3e7adbf.tar.bz2
Refreshing the free disk space display when leaving a Recordings submenu
-rw-r--r--menu.c10
1 files 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;
}