fix epgplus detailsline hide bug (thx dbo)

Origin commit data
------------------
Commit: eecc1b6af3
Author: TangoCash <eric@loxat.de>
Date: 2017-07-02 (Sun, 02 Jul 2017)
This commit is contained in:
TangoCash
2017-07-02 19:11:27 +02:00
committed by vanhofen
parent 2c57a95546
commit 4cc14d335b

View File

@@ -1393,6 +1393,13 @@ void EpgPlus::hide()
delete this->header->head; delete this->header->head;
this->header->head = NULL; 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); this->frameBuffer->paintBackgroundBoxRel(this->usableScreenX, this->usableScreenY, this->usableScreenWidth + OFFSET_SHADOW, this->usableScreenHeight + OFFSET_SHADOW);
} }