diff options
author | louis <louis.braun@gmx.de> | 2013-07-15 18:12:53 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-07-15 18:12:53 +0200 |
commit | 40825804445fc2df30783c09b6c97c4204881242 (patch) | |
tree | 3c735c124f55c1241a3e52a61eddd2d6f1118e9a /tvguideosd.c | |
parent | 30957bfb0f89ffa7cafaab36f25d5f83a582f196 (diff) | |
download | vdr-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.c | 15 |
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) {
|