diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-05 13:43:07 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-05 13:43:07 +0100 |
commit | 739fcc7aff2fdbcaf0b93e1fa2bdc9654374f042 (patch) | |
tree | 8287511d6d3dc0a87d06d73657b1d81179972214 /osdbase.c | |
parent | 02ae3e98d49023353cbb7f4cb5ecdf8e7182981d (diff) | |
download | vdr-739fcc7aff2fdbcaf0b93e1fa2bdc9654374f042.tar.gz vdr-739fcc7aff2fdbcaf0b93e1fa2bdc9654374f042.tar.bz2 |
In the "Channels" menu the numeric keys now position the cursor to the channel with the given number
Diffstat (limited to 'osdbase.c')
-rw-r--r-- | osdbase.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osdbase.c 1.25 2006/01/05 12:42:00 kls Exp $ + * $Id: osdbase.c 1.26 2006/01/05 13:26:00 kls Exp $ */ #include "osdbase.h" @@ -250,6 +250,8 @@ void cOsdMenu::DisplayCurrent(bool Current) void cOsdMenu::Clear(void) { + if (marked >= 0) + SetStatus(NULL); first = 0; current = marked = -1; cList<cOsdItem>::Clear(); @@ -453,6 +455,7 @@ eOSState cOsdMenu::ProcessKey(eKeys Key) } } switch (Key) { + case k0: return osUnknown; case k1...k9: return hasHotkeys ? HotKey(Key) : osUnknown; case kUp|k_Repeat: case kUp: CursorUp(); break; |