mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user