mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
gui/channellist.cpp: fix reset 'new' channel flag
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user