diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-06 09:48:17 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-06 09:48:17 +0200 |
commit | d42c22382640040442b2298af782cef8107d848a (patch) | |
tree | 839e146d77a5a0d70ec8d5210da470b31fe68522 /menu.c | |
parent | 2dc9309d2d39bd52d1f0eefa5a64ab36f3e77bf8 (diff) | |
download | vdr-d42c22382640040442b2298af782cef8107d848a.tar.gz vdr-d42c22382640040442b2298af782cef8107d848a.tar.bz2 |
Fixed displaying the current channel when switching via the SVDRP command CHAN
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.307 2004/05/29 10:19:22 kls Exp $ + * $Id: menu.c 1.308 2004/06/06 09:47:44 kls Exp $ */ #include "menu.h" @@ -2643,6 +2643,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key) } }; if (time_ms() - lastTime < INFOTIMEOUT) { + if (!number && group < 0 && channel && channel->Number() != cDevice::CurrentChannel()) + Refresh(); // makes sure a channel switch through the SVDRP CHAN command is displayed DisplayInfo(); displayChannel->Flush(); return osContinue; |