gui/channellist.cpp: fix reset 'new' channel flag

This commit is contained in:
[CST] Focus
2013-09-26 19:46:25 +04:00
parent a2d5ccdce2
commit 173403120f

View File

@@ -475,7 +475,7 @@ int CChannelList::doChannelMenu(void)
break;
case 4: // reset new
chanlist[selected]->flags &= ~CZapitChannel::NEW;
chanlist[selected]->flags = CZapitChannel::UPDATED;
CServiceManager::getInstance()->SetServicesChanged(true);
/* if make_new_list == ON, signal to re-init services */
if(g_settings.make_new_list)
@@ -483,7 +483,7 @@ int CChannelList::doChannelMenu(void)
break;
case 5: // reset all new
for (unsigned int j = 0 ; j < chanlist.size(); j++) {
chanlist[j]->flags &= ~CZapitChannel::NEW;
chanlist[j]->flags = CZapitChannel::UPDATED;
}
if (g_settings.make_new_list)
return 2;