mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
gui/scan.cpp: fix f567d3b85d
,
inside start wizard zap crash, because neutrino channel list not created yet
This commit is contained in:
@@ -345,7 +345,8 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
videoDecoder->StopPicture();
|
||||
frameBuffer->Clear();
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(CZapit::getInstance()->GetCurrentChannelID(), true); /* force re-zap */
|
||||
if (CNeutrinoApp::getInstance()->channelList)
|
||||
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(CZapit::getInstance()->GetCurrentChannelID(), true); /* force re-zap */
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||
|
||||
return menu_return::RETURN_REPAINT;
|
||||
|
Reference in New Issue
Block a user