red button also available in detail view

This commit is contained in:
louis 2013-07-15 18:12:53 +02:00
parent 30957bfb0f
commit 4082580444
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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) {