gui/scan.cpp: fix f567d3b85d,

inside start wizard zap crash, because neutrino channel list not created yet
This commit is contained in:
[CST] Focus
2013-03-19 13:56:13 +04:00
parent fe99c5fdda
commit 8f500e80fd

View File

@@ -345,6 +345,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
videoDecoder->StopPicture();
frameBuffer->Clear();
g_Sectionsd->setPauseScanning(false);
if (CNeutrinoApp::getInstance()->channelList)
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(CZapit::getInstance()->GetCurrentChannelID(), true); /* force re-zap */
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);