mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
src/gui/scan_setup.cpp: prevent crash in wizard - channel list not created yet
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