mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
fixed a bug when scrolling page up and the menu footer is active
This commit is contained in:
parent
567769ee87
commit
85f50f735e
1
HISTORY
1
HISTORY
@ -121,3 +121,4 @@ Version 1.2.0
|
||||
|
||||
- changed video directory choosage behaviour: added possibility to use
|
||||
a fixed recording dir which also supports epgsearch variables
|
||||
- fixed a bug when scrolling page up and the menu footer is active
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user