neutrino.cpp: new bug fix: dont set service changed, if channel list empty

This commit is contained in:
[CST] Focus
2012-03-16 20:38:08 +04:00
parent b144aeb952
commit 4f4c395ae8

View File

@@ -1603,7 +1603,8 @@ void CNeutrinoApp::InitZapper()
tuxtxt_init();
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
g_Sectionsd->setServiceChanged(live_channel_id, true );
if(channelList->getSize() && live_channel_id)
g_Sectionsd->setServiceChanged(live_channel_id, true );
#if 0 // mode switch above do zap, so all next should be done after zap complete message
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
if(channelList->getSize() && live_channel_id) {