mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed bug that epg quicksearch menu was not displayed properly
This commit is contained in:
parent
5d86c45bc6
commit
d84447652e
1
HISTORY
1
HISTORY
@ -144,3 +144,4 @@ Version 0.1.2
|
|||||||
introduced "whatsonfavorites" Token in displaymenuschedules
|
introduced "whatsonfavorites" Token in displaymenuschedules
|
||||||
- fixed again display of channel in schedules header
|
- fixed again display of channel in schedules header
|
||||||
- added now and next in blackhole channels menu
|
- added now and next in blackhole channels menu
|
||||||
|
- fixed bug that epg quicksearch menu was not displayed properly
|
||||||
|
@ -203,7 +203,10 @@ void cSDDisplayMenu::SetItem(const char *Text, int Index, bool Current, bool Sel
|
|||||||
for (int i=0; i<MaxTabs; i++) {
|
for (int i=0; i<MaxTabs; i++) {
|
||||||
const char *s = GetTabbedText(Text, i);
|
const char *s = GetTabbedText(Text, i);
|
||||||
if (s) {
|
if (s) {
|
||||||
tabTexts[i] = s;
|
if (strlen(s) == 0)
|
||||||
|
tabTexts[i] = " ";
|
||||||
|
else
|
||||||
|
tabTexts[i] = s;
|
||||||
} else {
|
} else {
|
||||||
tabTexts[i] = "";
|
tabTexts[i] = "";
|
||||||
}
|
}
|
||||||
|
@ -205,7 +205,7 @@ void cDisplayMenuRootView::SetMenu(eMenuCategory menuCat, bool menuInit) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cDisplayMenuRootView::CorrectDefaultMenu(void) {
|
void cDisplayMenuRootView::CorrectDefaultMenu(void) {
|
||||||
if (viewType > svMenuDefault) {
|
if (viewType > svMenuDefault && viewType != svMenuPlugin) {
|
||||||
SetMenu(mcUnknown, true);
|
SetMenu(mcUnknown, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user