From 4f4c395ae85a1526671baf272cde709812930f0e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 16 Mar 2012 20:38:08 +0400 Subject: [PATCH] neutrino.cpp: new bug fix: dont set service changed, if channel list empty --- src/neutrino.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index cf448e0a9..c55961710 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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) {