diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-24 14:56:18 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-24 14:56:18 +0100 |
commit | 39cefd4b276550e4ea9f080c4e85c4b4a2b828ed (patch) | |
tree | 6da2e21f86696aa39c49f26ea62be4cec092971b | |
parent | 3d9654a22f900a25b4a03d8c1756b3b878872a9b (diff) | |
download | vdr-39cefd4b276550e4ea9f080c4e85c4b4a2b828ed.tar.gz vdr-39cefd4b276550e4ea9f080c4e85c4b4a2b828ed.tar.bz2 |
Replaced some 'displayChannel->SetEvents(NULL, NULL)/DisplayChannel()' sequences with 'Refresh()'
-rw-r--r-- | menu.c | 8 |
1 files changed, 3 insertions, 5 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.414 2006/02/24 14:55:10 kls Exp $ + * $Id: menu.c 1.415 2006/02/24 14:56:18 kls Exp $ */ #include "menu.h" @@ -3110,9 +3110,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key) else number = number * 10 + Key - k0; channel = Channels.GetByNumber(number); - displayChannel->SetEvents(NULL, NULL); + Refresh(); withInfo = false; - DisplayChannel(); // Lets see if there can be any useful further input: int n = channel ? number * 10 : 0; int m = 10; @@ -3159,8 +3158,7 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key) group = SaveGroup; channel = Channels.Get(group); if (channel) { - displayChannel->SetEvents(NULL, NULL); - DisplayChannel(); + Refresh(); if (!channel->GroupSep()) group = -1; } |