Fixed an invalid lock sequence when pressing the Channel+/Channel- keys while in the "What's on..." menu in live view

This commit is contained in:
Klaus Schmidinger
2025-06-20 14:02:57 +02:00
parent b5c0cb3a7d
commit 77dca46d22
2 changed files with 4 additions and 1 deletions

3
menu.c
View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 5.28 2025/06/20 10:20:22 kls Exp $
* $Id: menu.c 5.29 2025/06/20 14:02:57 kls Exp $
*/
#include "menu.h"
@@ -1822,6 +1822,7 @@ eOSState cMenuWhatsOn::ProcessKey(eKeys Key)
case kChanUp:
case kChanDn|k_Repeat:
case kChanDn: if (!HasSubMenu()) {
LOCK_TIMERS_READ;
LOCK_CHANNELS_READ;
for (cOsdItem *item = First(); item; item = Next(item)) {
if (((cMenuScheduleItem *)item)->channel->Number() == cDevice::CurrentChannel()) {