summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--tvguideosd.c15
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) {