mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-26 23:06:44 +01:00
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:
2
HISTORY
2
HISTORY
@@ -10135,3 +10135,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed updating the index when cutting a recording again (thanks to Matthias Senzel).
|
- 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.
|
- Speeded up determining the timer status of events in the Schedules menus.
|
||||||
- Fixed Channel+/Channel- keys stopping replay of a recording.
|
- 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.
|
||||||
|
|||||||
3
menu.c
3
menu.c
@@ -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: 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"
|
#include "menu.h"
|
||||||
@@ -1822,6 +1822,7 @@ eOSState cMenuWhatsOn::ProcessKey(eKeys Key)
|
|||||||
case kChanUp:
|
case kChanUp:
|
||||||
case kChanDn|k_Repeat:
|
case kChanDn|k_Repeat:
|
||||||
case kChanDn: if (!HasSubMenu()) {
|
case kChanDn: if (!HasSubMenu()) {
|
||||||
|
LOCK_TIMERS_READ;
|
||||||
LOCK_CHANNELS_READ;
|
LOCK_CHANNELS_READ;
|
||||||
for (cOsdItem *item = First(); item; item = Next(item)) {
|
for (cOsdItem *item = First(); item; item = Next(item)) {
|
||||||
if (((cMenuScheduleItem *)item)->channel->Number() == cDevice::CurrentChannel()) {
|
if (((cMenuScheduleItem *)item)->channel->Number() == cDevice::CurrentChannel()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user