summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-30 15:37:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-30 15:37:16 +0200
commitfc0596d8598a235a1bf9fd3e107213dc1ccc4647 (patch)
tree92b47e5ff142a2a9927b695fe313ad246c1f5258
parent664df0902e624904098bad2aacc922c40d26a01c (diff)
downloadvdr-fc0596d8598a235a1bf9fd3e107213dc1ccc4647.tar.gz
vdr-fc0596d8598a235a1bf9fd3e107213dc1ccc4647.tar.bz2
Immediately displaying the new channel info when switching channel groups
-rw-r--r--HISTORY1
-rw-r--r--menu.c8
2 files changed, 7 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index d4f4fe6b..53e65662 100644
--- a/HISTORY
+++ b/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.
diff --git a/menu.c b/menu.c
index e3fe69a8..18c2d5bf 100644
--- a/menu.c
+++ b/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) {