mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Fixed displaying the current item when pressing a hotkey
This commit is contained in:
parent
1b4233d6ad
commit
3045995bbc
@ -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.7 2025/02/12 21:18:53 kls Exp $
|
* $Id: osdbase.c 5.8 2025/02/13 13:58:07 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osdbase.h"
|
#include "osdbase.h"
|
||||||
@ -519,8 +519,10 @@ eOSState cOsdMenu::HotKey(eKeys Key)
|
|||||||
const char *s = item->Text();
|
const char *s = item->Text();
|
||||||
if (s && (s = skipspace(s)) != NULL) {
|
if (s && (s = skipspace(s)) != NULL) {
|
||||||
if (*s == Key - k1 + '1') {
|
if (*s == Key - k1 + '1') {
|
||||||
|
DisplayCurrent(false);
|
||||||
current = item->Index();
|
current = item->Index();
|
||||||
RefreshCurrent();
|
RefreshCurrent();
|
||||||
|
DisplayCurrent(true);
|
||||||
cRemote::Put(kOk, true);
|
cRemote::Put(kOk, true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user