mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed crash in epgsearch fav view
This commit is contained in:
parent
b7d25009c0
commit
c0297c01dc
@ -399,6 +399,8 @@ void cViewMenu::SetMessage(eMessageType type, const char *text) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cViewMenu::SetChannelHeader(const cEvent *event) {
|
void cViewMenu::SetChannelHeader(const cEvent *event) {
|
||||||
|
if (!event)
|
||||||
|
return;
|
||||||
if (menuChange && menuCat == mcSchedule) {
|
if (menuChange && menuCat == mcSchedule) {
|
||||||
const cChannel *channel = Channels.GetByChannelID(event->ChannelID());
|
const cChannel *channel = Channels.GetByChannelID(event->ChannelID());
|
||||||
if (channel)
|
if (channel)
|
||||||
|
@ -105,7 +105,7 @@
|
|||||||
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
<drawtextbox condition="{hasposter}" x="10" y="{posy(poster)}" width="99%" height="{areaheight} - {posy(poster)}" float="topleft" floatwidth="{width(poster)} + 10" floatheight="{height(poster)} + 20" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
||||||
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="{areawidth} - 20" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
<drawtextbox condition="not{hasposter}" x="10" y="{posy(poster)}" width="{areawidth} - 20" height="{areaheight} - {posy(poster)}" font="{light}" fontsize="{areaheight}/20" color="{clrWhite}" text="{description}" />
|
||||||
</area>
|
</area>
|
||||||
<areacontainer condition="{whatsonnow}||{whatsonnext}">
|
<areacontainer condition="{whatsonnow}||{whatsonnext}||{whatsonfavorites}">
|
||||||
<area x="63%" y="0" width="36%" height="85%" layer="2">
|
<area x="63%" y="0" width="36%" height="85%" layer="2">
|
||||||
<!-- title -->
|
<!-- title -->
|
||||||
<drawtext align="center" y="0" font="{semibold}" width="{areawidth}-20" fontsize="10%" color="{clrWhite}" text="{title}" />
|
<drawtext align="center" y="0" font="{semibold}" width="{areawidth}-20" fontsize="10%" color="{clrWhite}" text="{title}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user