Fixed an unnecessary redisplay of the menu when pressing a hotkey

This commit is contained in:
Klaus Schmidinger 2025-01-29 10:25:55 +01:00
parent af0309cc40
commit 49dc61a92c
2 changed files with 2 additions and 2 deletions

View File

@ -10065,3 +10065,4 @@ Video Disk Recorder Revision History
Stefan Hofmann). Stefan Hofmann).
- Fixed an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() (reported - Fixed an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() (reported
by Markus Ehrnsperger). by Markus Ehrnsperger).
- Fixed an unnecessary redisplay of the menu when pressing a hotkey.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: osdbase.c 5.2 2025/01/16 09:42:11 kls Exp $ * $Id: osdbase.c 5.3 2025/01/29 10:25:55 kls Exp $
*/ */
#include "osdbase.h" #include "osdbase.h"
@ -501,7 +501,6 @@ eOSState cOsdMenu::HotKey(eKeys Key)
if (*s == Key - k1 + '1') { if (*s == Key - k1 + '1') {
current = item->Index(); current = item->Index();
RefreshCurrent(); RefreshCurrent();
Display();
cRemote::Put(kOk, true); cRemote::Put(kOk, true);
break; break;
} }