mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user