mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Immediately displaying the new channel info when switching channel groups
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -3086,3 +3086,4 @@ Video Disk Recorder Revision History | ||||
| - No longer explicitly waiting for a tuner lock when switching channels | ||||
|   (apparently setting "live" PIDs before the tuner is locked doesn't hurt). | ||||
|   Moved the wait into cDevice::AttachReceiver() instead. | ||||
| - Immediately displaying the new channel info when switching channel groups. | ||||
|   | ||||
							
								
								
									
										8
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								menu.c
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: menu.c 1.314 2004/10/17 10:28:27 kls Exp $ | ||||
|  * $Id: menu.c 1.315 2004/10/30 15:37:16 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "menu.h" | ||||
| @@ -2629,9 +2629,13 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key) | ||||
|     //XXX case kGreen:  return osEventNow; | ||||
|     //XXX case kYellow: return osEventNext; | ||||
|     case kOk:     if (group >= 0) { | ||||
|                      cChannel *channel = Channels.Get(Channels.GetNextNormal(group)); | ||||
|                      channel = Channels.Get(Channels.GetNextNormal(group)); | ||||
|                      if (channel) | ||||
|                         Channels.SwitchTo(channel->Number()); | ||||
|                      withInfo = true; | ||||
|                      group = -1; | ||||
|                      Refresh(); | ||||
|                      break; | ||||
|                      } | ||||
|                   return osEnd; | ||||
|     default:      if ((Key & (k_Repeat | k_Release)) == 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user