1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Now clearing the channel info display when entering numeric keys to switch channels

This commit is contained in:
Klaus Schmidinger 2003-06-19 10:10:14 +02:00
parent 1922b14010
commit 7a79fef0c8
3 changed files with 8 additions and 2 deletions

View File

@ -552,6 +552,8 @@ Guy Roussin <guy.roussin@teledetection.fr>
for suggesting not to display channel group delimiters without text for suggesting not to display channel group delimiters without text
for reporting a bug in handling channels in the "Channels" menu in case there are for reporting a bug in handling channels in the "Channels" menu in case there are
':@nnn' group separators without names ':@nnn' group separators without names
for suggesting to clear the channel info display when entering numeric keys to
switch channels
Georg Hitsch <georg@hitsch.at> Georg Hitsch <georg@hitsch.at>
for his help in keeping 'channels.conf' up to date for his help in keeping 'channels.conf' up to date

View File

@ -2254,7 +2254,7 @@ Video Disk Recorder Revision History
- Some corrections to the Finnish OSD texts (thanks to Niko Tarnanen and Rolf - Some corrections to the Finnish OSD texts (thanks to Niko Tarnanen and Rolf
Ahrenberg). Ahrenberg).
2003-06-15: Version 1.2.2 2003-06-19: Version 1.2.2
- Fixed a bug in channel switching after Left/Right has been pressed (thanks to - Fixed a bug in channel switching after Left/Right has been pressed (thanks to
Michael Walle for reporting this one). Michael Walle for reporting this one).
@ -2266,3 +2266,5 @@ Video Disk Recorder Revision History
- Changed the behaviour of the '0' key in normal viewing mode so that a channel - Changed the behaviour of the '0' key in normal viewing mode so that a channel
only qualifies as "previous" if it has been selected for at least 3 seconds only qualifies as "previous" if it has been selected for at least 3 seconds
(suggested by Thomas Keil). (suggested by Thomas Keil).
- Now clearing the channel info display when entering numeric keys to switch
channels (suggested by Guy Roussin).

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.259 2003/06/15 12:25:47 kls Exp $ * $Id: menu.c 1.260 2003/06/19 10:09:29 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -2740,6 +2740,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
number = number * 10 + Key - k0; number = number * 10 + Key - k0;
if (number > 0) { if (number > 0) {
cChannel *channel = Channels.GetByNumber(number); cChannel *channel = Channels.GetByNumber(number);
Interface->Clear();
withInfo = false;
DisplayChannel(channel); DisplayChannel(channel);
lastTime = time_ms(); lastTime = time_ms();
// Lets see if there can be any useful further input: // Lets see if there can be any useful further input: