summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-09-13 20:58:05 +0000
committersvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-09-13 20:58:05 +0000
commit5cd75a64df1cea7b69632b322c35a89315110a5e (patch)
treebc90fcdfc2ade276b9cc4c7fdd2264799179ee1d /src
parent8b0e2a694e861a48e4fdcd93b0932e72f6ac825d (diff)
downloadvdr-plugin-menuorg-5cd75a64df1cea7b69632b322c35a89315110a5e.tar.gz
vdr-plugin-menuorg-5cd75a64df1cea7b69632b322c35a89315110a5e.tar.bz2
do not handel kLeft and kRight when moving
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@6147 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src')
-rw-r--r--src/MenuOrgPlugin.cpp1
-rw-r--r--src/RecursiveMenuSetup.cpp17
2 files changed, 10 insertions, 8 deletions
diff --git a/src/MenuOrgPlugin.cpp b/src/MenuOrgPlugin.cpp
index e7115ff..c14637f 100644
--- a/src/MenuOrgPlugin.cpp
+++ b/src/MenuOrgPlugin.cpp
@@ -128,7 +128,6 @@ cOsdObject *MenuOrgPlugin::MainMenuAction(void)
if (_pluginConfiguration.MenuSetupStyle() == 0)
{
return new RecursiveMenuSetup(_menuConfigurationRepository);
-
}
else
{
diff --git a/src/RecursiveMenuSetup.cpp b/src/RecursiveMenuSetup.cpp
index b31d2d8..aefa99c 100644
--- a/src/RecursiveMenuSetup.cpp
+++ b/src/RecursiveMenuSetup.cpp
@@ -57,15 +57,18 @@ void RecursiveMenuSetup::CreateMenuItems()
eOSState RecursiveMenuSetup::ProcessKey(eKeys Key)
{
// Catch keys that should not be processed by the base class
- if (_moving)
- {
- if ((Key == kUp) || (Key == kDown))
- {
- return MoveCurrentItem(Key == kUp);
- }
+ if (_moving)
+ {
+ if ((Key == kUp) || (Key == kDown))
+ {
+ return MoveCurrentItem(Key == kUp);
+ }
+ if ((Key == kLeft) || (Key == kRight))
+ {
+ return osContinue;
+ }
}
-
// Process keys in base class
eOSState state = cOsdMenu::ProcessKey(Key);
if(HasSubMenu())