diff options
author | Rainer Blickle <rblickle@gmx.de> | 2010-07-22 07:11:58 +0200 |
---|---|---|
committer | Rainer Blickle <rblickle@gmx.de> | 2010-07-22 07:11:58 +0200 |
commit | 689d33ac30b86d66c83aa6754992a21d092f72b0 (patch) | |
tree | a40d91681ea83755813e928d4023b3ea24ebef81 | |
parent | e0d676518240561f66d26cb22371de70508dbfbf (diff) | |
download | vdr-plugin-pvrinput-689d33ac30b86d66c83aa6754992a21d092f72b0.tar.gz vdr-plugin-pvrinput-689d33ac30b86d66c83aa6754992a21d092f72b0.tar.bz2 |
only the OK-Button stores the parameters
-rw-r--r-- | menu.c | 5 | ||||
-rw-r--r-- | pvrinput.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -80,9 +80,12 @@ cPvrMenuSetup::cPvrMenuSetup() eOSState cPvrMenuSetup::ProcessKey(eKeys Key) { eOSState state = osUnknown; - if (Key == kOk || Key == kBack) { + if (Key == kOk && HasSubMenu()) { Store(); } + if (Key == kBack && HasSubMenu()) { + newPvrSetup = PvrSetup; + } if (!HasSubMenu()) { if (Key == kOk) { const char* ItemText = Get(Current())->Text(); @@ -6,7 +6,7 @@ #endif #endif -static const char *VERSION = "2010-07-19-rb_osd_submenus"; +static const char *VERSION = "2010-07-22-rb_osd_submenus"; static const char *DESCRIPTION = tr("use Hauppauge PVR as input device"); static const char *MAINMENUENTRY = tr("PVR picture settings"); |