mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
gui/scan.cpp: fix 9b1e987d03
,
inside start wizard zap crash, because neutrino channel list not created yet
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8f500e80fd
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-19 (Tue, 19 Mar 2013)
------------------
This commit was generated by Migit
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