CInfoViewer: ensure removing of timescale bar after killed infobar

In some constellations it was possible that timescale  was not removed
from screen after closing of infoviewer.
e.g. user switched from a
channel with epg data to a channel without epg data and infobar was closed
before epg data was complete arrived.

btw: it seems INFOBAR_PROGRESSBAR_ARRANGEMENT_DEFAULT
is not not really "default"
This commit is contained in:
2016-01-03 14:38:42 +01:00
parent 976e0251ee
commit 85ad35abdc

View File

@@ -232,6 +232,8 @@ void CInfoViewer::ResetPB()
} }
if (timescale){ if (timescale){
if (g_settings.infobar_progressbar == SNeutrinoSettings::INFOBAR_PROGRESSBAR_ARRANGEMENT_DEFAULT)
timescale->kill();
delete timescale; delete timescale;
timescale = NULL; timescale = NULL;
} }