From 3045995bbc64ddffde719a5eb2b82c8227dc41bc Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 13 Feb 2025 13:58:07 +0100 Subject: [PATCH] Fixed displaying the current item when pressing a hotkey --- osdbase.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osdbase.c b/osdbase.c index 99f5a997..9352276a 100644 --- a/osdbase.c +++ b/osdbase.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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" @@ -519,8 +519,10 @@ eOSState cOsdMenu::HotKey(eKeys Key) const char *s = item->Text(); if (s && (s = skipspace(s)) != NULL) { if (*s == Key - k1 + '1') { + DisplayCurrent(false); current = item->Index(); RefreshCurrent(); + DisplayCurrent(true); cRemote::Put(kOk, true); break; }