summaryrefslogtreecommitdiff
path: root/tvguideosd.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-07-15 18:12:53 +0200
committerlouis <louis.braun@gmx.de>2013-07-15 18:12:53 +0200
commit40825804445fc2df30783c09b6c97c4204881242 (patch)
tree3c735c124f55c1241a3e52a61eddd2d6f1118e9a /tvguideosd.c
parent30957bfb0f89ffa7cafaab36f25d5f83a582f196 (diff)
downloadvdr-plugin-tvguide-40825804445fc2df30783c09b6c97c4204881242.tar.gz
vdr-plugin-tvguide-40825804445fc2df30783c09b6c97c4204881242.tar.bz2
red button also available in detail view
Diffstat (limited to 'tvguideosd.c')
-rw-r--r--tvguideosd.c15
1 files changed, 11 insertions, 4 deletions
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) {