From 40825804445fc2df30783c09b6c97c4204881242 Mon Sep 17 00:00:00 2001 From: louis Date: Mon, 15 Jul 2013 18:12:53 +0200 Subject: red button also available in detail view --- tvguideosd.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'tvguideosd.c') 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) { -- cgit v1.2.3