src/gui/infoviewer.cpp try to fix segfault after PB change

This commit is contained in:
Jacek Jendrzej
2016-01-04 20:13:59 +01:00
parent 597f10d920
commit 9aa1420ca7
2 changed files with 7 additions and 1 deletions

View File

@@ -122,6 +122,9 @@ CInfoViewer::CInfoViewer ()
oldinfo.current_uniqueKey = 0;
oldinfo.next_uniqueKey = 0;
isVolscale = false;
info_time_width = 0;
timeoutEnd = 0;
sec_timer_id = 0;
}
CInfoViewer::~CInfoViewer()
@@ -644,7 +647,10 @@ void CInfoViewer::reset_allScala()
{
changePB();
lastsig = lastsnr = -1;
infoViewerBB->changePB();
infoViewerBB->reset_allScala();
if(!clock)
initClock();
}
void CInfoViewer::check_channellogo_ca_SettingsChange()