mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/channellist.cpp: fix reset 'new' channel flag
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