mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Pressing Ok while entering a channel number now immediately switches to that channel, without waiting for further input
This commit is contained in:
		
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -3692,3 +3692,5 @@ Video Disk Recorder Revision History | ||||
| - Now discarding any previous numerical input to switch channels if Up, Down, Channel+, | ||||
|   Channel-, Left or Right is pressed (thanks to Wolfgang Rohdewald for reporting a | ||||
|   problem with this). | ||||
| - Pressing Ok while entering a channel number now immediately switches to that | ||||
|   channel, without waiting for further input. | ||||
|   | ||||
							
								
								
									
										4
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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.354 2005/08/14 15:00:11 kls Exp $ | ||||
|  * $Id: menu.c 1.355 2005/08/14 15:14:29 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "menu.h" | ||||
| @@ -2854,6 +2854,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key) | ||||
|                      Refresh(); | ||||
|                      break; | ||||
|                      } | ||||
|                   else if (number > 0 && channel) | ||||
|                      Channels.SwitchTo(number); | ||||
|                   return osEnd; | ||||
|     default:      if ((Key & (k_Repeat | k_Release)) == 0) { | ||||
|                      cRemote::Put(Key); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user