summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-10-16 09:43:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-10-16 09:43:47 +0200
commitc9fb7eb4d6785ce6bbe88e1e45e4f5309c9ad889 (patch)
treef30d9c1edff660bcdde346e884c579518e2e4a90 /menu.c
parent38703228882377474c01bf3c13804f65339cb7e1 (diff)
downloadvdr-c9fb7eb4d6785ce6bbe88e1e45e4f5309c9ad889.tar.gz
vdr-c9fb7eb4d6785ce6bbe88e1e45e4f5309c9ad889.tar.bz2
Fixed an inconsistent behavior between opening the Recordings menu manually via the main menu and by pressing the Recordings key
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index ae962f77..df78513c 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 3.9 2013/10/14 10:28:10 kls Exp $
+ * $Id: menu.c 3.10 2013/10/16 09:15:36 kls Exp $
*/
#include "menu.h"
@@ -3732,7 +3732,7 @@ cMenuPluginItem::cMenuPluginItem(const char *Name, int Index)
cOsdObject *cMenuMain::pluginOsdObject = NULL;
-cMenuMain::cMenuMain(eOSState State)
+cMenuMain::cMenuMain(eOSState State, bool OpenSubMenus)
:cOsdMenu("")
{
SetMenuCategory(mcMain);
@@ -3749,7 +3749,7 @@ cMenuMain::cMenuMain(eOSState State)
case osSchedule: AddSubMenu(new cMenuSchedule); break;
case osChannels: AddSubMenu(new cMenuChannels); break;
case osTimers: AddSubMenu(new cMenuTimers); break;
- case osRecordings: AddSubMenu(new cMenuRecordings(NULL, 0, true)); break;
+ case osRecordings: AddSubMenu(new cMenuRecordings(NULL, 0, OpenSubMenus)); break;
case osSetup: AddSubMenu(new cMenuSetup); break;
case osCommands: AddSubMenu(new cMenuCommands(tr("Commands"), &Commands)); break;
default: break;