diff options
author | louis <louis.braun@gmx.de> | 2014-02-06 17:53:20 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-02-06 17:53:20 +0100 |
commit | 85f50f735e0aeaaa08251cf5fe5ee3595102cfbf (patch) | |
tree | 47c16b618481a6c62bcc940c135528809e75c707 /recmenu.c | |
parent | 567769ee87fa203172b361ea3694f553f394b1c9 (diff) | |
download | vdr-plugin-tvguide-85f50f735e0aeaaa08251cf5fe5ee3595102cfbf.tar.gz vdr-plugin-tvguide-85f50f735e0aeaaa08251cf5fe5ee3595102cfbf.tar.bz2 |
fixed a bug when scrolling page up and the menu footer is active
Diffstat (limited to 'recmenu.c')
-rw-r--r-- | recmenu.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -328,6 +328,10 @@ void cRecMenu::PageUp(void) { JumpBegin(); return; } + if (footer && activeItem == footer) { + Activate(footer, menuItems.front()); + return; + } int newActive = GetActive() - numItems; if (newActive < 0) newActive = 0; @@ -365,6 +369,9 @@ void cRecMenu::PageDown(void) { cRecMenuItem *activeItem = GetActiveMenuItem(); if (!activeItem) return; + if (footer && activeItem == footer) { + return; + } if (!scrollable) { JumpEnd(); return; |