mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
src/gui/scan_setup.cpp: prevent crash in wizard - channel list not created yet
Origin commit data
------------------
Commit: 584405883d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-06-27 (Thu, 27 Jun 2013)
This commit is contained in:
@@ -660,7 +660,7 @@ int CScanSetup::showScanMenuFrontendSetup()
|
||||
fe_restart = false;
|
||||
CFEManager::getInstance()->linkFrontends(true);
|
||||
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
||||
if (live_channel_id)
|
||||
if (live_channel_id && CNeutrinoApp::getInstance()->channelList)
|
||||
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(live_channel_id, true);
|
||||
}
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user