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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 173403120f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-26 (Thu, 26 Sep 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-09-26 19:46:25 +04:00
parent aa8cce313d
commit c68d7a89ea

View File

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