fix epgplus detailsline hide bug (thx dbo)

Signed-off-by: Thilo Graf <dbt@novatux.de>

dline was not removed after called epg info.

btw. Small request:
It would be nice if a short brief justification would be included.
That would be make some things easier to track and saves unnecessary questions.
Thx!
This commit is contained in:
TangoCash
2017-07-02 19:11:27 +02:00
committed by Thilo Graf
parent 3213999198
commit d7e196c58a

View File

@@ -1393,6 +1393,13 @@ void EpgPlus::hide()
delete this->header->head;
this->header->head = NULL;
}
if (this->selectedChannelEntry->detailsLine) {
this->selectedChannelEntry->detailsLine->kill();
delete this->selectedChannelEntry->detailsLine;
this->selectedChannelEntry->detailsLine = NULL;
}
this->frameBuffer->paintBackgroundBoxRel(this->usableScreenX, this->usableScreenY, this->usableScreenWidth + OFFSET_SHADOW, this->usableScreenHeight + OFFSET_SHADOW);
}