mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
				synced 2023-10-05 13:01:48 +00:00 
			
		
		
		
	fixed a bug when scrolling page up and the menu footer is active
This commit is contained in:
		
							
								
								
									
										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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user