Fixed learning remote control keys with the LCARS skin

This commit is contained in:
Klaus Schmidinger 2012-11-19 12:24:29 +01:00
parent 8f9136ecab
commit 9fff8b3fe9
2 changed files with 3 additions and 1 deletions

View File

@ -7344,3 +7344,4 @@ Video Disk Recorder Revision History
- In order to be able to play TS recordings from other sources, in which there is
more than one PMT PID in the PAT, 'int cPatPmtParser::PatPmt(void)' has been changed
to 'bool cPatPmtParser::IsPatPmt(int Pid)'.
- Fixed learning remote control keys with the LCARS skin.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: interface.c 2.1 2011/12/04 14:52:38 kls Exp $
* $Id: interface.c 2.2 2012/11/19 12:21:43 kls Exp $
*/
#include "interface.h"
@ -160,6 +160,7 @@ void cInterface::LearnKeys(void)
dsyslog("remote control %s - %s", Remote->Name(), known ? "keys known" : "learning keys");
if (!known) {
cSkinDisplayMenu *DisplayMenu = Skins.Current()->DisplayMenu();
DisplayMenu->SetMenuCategory(mcUnknown);
char Headline[256];
snprintf(Headline, sizeof(Headline), tr("Learning Remote Control Keys"));
cRemote::Clear();