From 77dca46d2260c4b550cfe44a95eb66cc957e211e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 20 Jun 2025 14:02:57 +0200 Subject: [PATCH] Fixed an invalid lock sequence when pressing the Channel+/Channel- keys while in the "What's on..." menu in live view --- HISTORY | 2 ++ menu.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index c95dc404..92ef4b5e 100644 --- a/HISTORY +++ b/HISTORY @@ -10135,3 +10135,5 @@ Video Disk Recorder Revision History - Fixed updating the index when cutting a recording again (thanks to Matthias Senzel). - Speeded up determining the timer status of events in the Schedules menus. - Fixed Channel+/Channel- keys stopping replay of a recording. +- Fixed an invalid lock sequence when pressing the Channel+/Channel- keys while in the + "What's on..." menu in live view. diff --git a/menu.c b/menu.c index 16661d0c..5a9f7fbc 100644 --- a/menu.c +++ b/menu.c @@ -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()) {