fixed bug that part of menu sometimes remains after closing

This commit is contained in:
louis 2016-03-30 16:48:43 +02:00
parent 075685b5f5
commit e59f285ac3
2 changed files with 5 additions and 0 deletions

View File

@ -557,6 +557,7 @@ void cViewMenu::Close(void) {
}
UnScaleTv();
ClearVariables();
sdOsd.Flush();
sdOsd.DeleteOsd();
}

View File

@ -308,6 +308,10 @@ void cViewElement::WakeUp(void) {
void cViewElement::Close(void) {
delete detacher;
detacher = NULL;
delete fader;
fader = NULL;
delete shifter;
shifter = NULL;
StopScrolling();
for (cAreaNode *node = areaNodes.First(); node; node = areaNodes.Next(node)) {
node->StopBlinkers();