summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-01-25 12:44:32 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-01-25 12:44:32 +0100
commit8b9e1f513fcbb216fae5f1f889dd0da6b522d62c (patch)
tree57900a8ba8af9355958869121dd8aee1e9b872fe /menu.c
parentfdbf796b6b9dbe83c6874002c1e01dbac09f7eae (diff)
downloadvdr-8b9e1f513fcbb216fae5f1f889dd0da6b522d62c.tar.gz
vdr-8b9e1f513fcbb216fae5f1f889dd0da6b522d62c.tar.bz2
Fixed a superfluous call to the skin's SetRecording() function after renaming a recording
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/menu.c b/menu.c
index 6c7acfcb..1001d29e 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.15 2013/12/27 09:00:24 kls Exp $
+ * $Id: menu.c 3.16 2014/01/25 12:40:28 kls Exp $
*/
#include "menu.h"
@@ -2473,12 +2473,8 @@ void cMenuRecording::Display(void)
eOSState cMenuRecording::ProcessKey(eKeys Key)
{
- if (HasSubMenu()) {
- eOSState state = cOsdMenu::ProcessKey(Key);
- if (state == osUser1)
- CloseSubMenu();
- return state;
- }
+ if (HasSubMenu())
+ return cOsdMenu::ProcessKey(Key);
else if (!RefreshRecording())
return osBack; // the recording has vanished, so close this menu
switch (int(Key)) {