mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
Fix display of events in channel display
When switching to a channel without EPG, the display of the current and following program was not updated.
This commit is contained in:
parent
7c47c8e225
commit
4a89d28f03
@ -261,9 +261,6 @@ void cViewChannel::SetEvents(const cEvent *present, const cEvent *following) {
|
||||
if (veProgressBar)
|
||||
veProgressBar->Set(present);
|
||||
|
||||
if (!present && !following)
|
||||
return;
|
||||
|
||||
if (veEpgInfo)
|
||||
veEpgInfo->Set(present, following);
|
||||
|
||||
|
@ -176,6 +176,8 @@ bool cVeDcEpgInfo::Parse(bool force) {
|
||||
}
|
||||
|
||||
void cVeDcEpgInfo::Close(void) {
|
||||
current = NULL;
|
||||
next = NULL;
|
||||
tokenContainer->Clear();
|
||||
cViewElement::Close();
|
||||
}
|
||||
@ -228,6 +230,7 @@ void cVeDcProgressBar::Close(void) {
|
||||
currentLast = -1;
|
||||
startTime = -1;
|
||||
duration = -1;
|
||||
tokenContainer->Clear();
|
||||
cViewElement::Close();
|
||||
}
|
||||
|
||||
@ -617,7 +620,8 @@ void cVeDcScraperContent::SetTokenContainer(void) {
|
||||
|
||||
void cVeDcScraperContent::Set(const cEvent *e) {
|
||||
tokenContainer->Clear();
|
||||
SetPosterBanner(tokenContainer, e, NULL);
|
||||
if (e)
|
||||
SetPosterBanner(tokenContainer, e, NULL);
|
||||
SetDirty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user