fixed bug that epg quicksearch menu was not displayed properly

This commit is contained in:
louis 2015-01-12 12:40:28 +01:00
parent 5d86c45bc6
commit d84447652e
3 changed files with 6 additions and 2 deletions

View File

@ -144,3 +144,4 @@ Version 0.1.2
introduced "whatsonfavorites" Token in displaymenuschedules
- fixed again display of channel in schedules header
- added now and next in blackhole channels menu
- fixed bug that epg quicksearch menu was not displayed properly

View File

@ -203,7 +203,10 @@ void cSDDisplayMenu::SetItem(const char *Text, int Index, bool Current, bool Sel
for (int i=0; i<MaxTabs; i++) {
const char *s = GetTabbedText(Text, i);
if (s) {
tabTexts[i] = s;
if (strlen(s) == 0)
tabTexts[i] = " ";
else
tabTexts[i] = s;
} else {
tabTexts[i] = "";
}

View File

@ -205,7 +205,7 @@ void cDisplayMenuRootView::SetMenu(eMenuCategory menuCat, bool menuInit) {
}
void cDisplayMenuRootView::CorrectDefaultMenu(void) {
if (viewType > svMenuDefault) {
if (viewType > svMenuDefault && viewType != svMenuPlugin) {
SetMenu(mcUnknown, true);
}
}