From 40825804445fc2df30783c09b6c97c4204881242 Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 15 Jul 2013 18:12:53 +0200 Subject: [PATCH] red button also available in detail view --- HISTORY | 1 + tvguideosd.c | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/HISTORY b/HISTORY index 67410f8..aa84211 100644 --- a/HISTORY +++ b/HISTORY @@ -50,3 +50,4 @@ VDR Plugin 'tvguide' Revision History - Introduction of "Search & Recording" Menu - added possibility to replace original VDR schedules menu - changed channel jump logic +- red button also available in detail view diff --git a/tvguideosd.c b/tvguideosd.c index a0ac921..b6b3c2b 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -653,13 +653,20 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) { } state = osContinue; } else if (detailViewActive) { - state = detailView->ProcessKey(Key); - if (state == osEnd) { + if ((Key & ~k_Repeat) == kRed) { delete detailView; detailView = NULL; detailViewActive = false; - osdManager.flush(); - state = osContinue; + processKeyRed(); + } else { + state = detailView->ProcessKey(Key); + if (state == osEnd) { + delete detailView; + detailView = NULL; + detailViewActive = false; + osdManager.flush(); + state = osContinue; + } } } else { switch (Key & ~k_Repeat) {