gui/miscsettings_menu.cpp: add option to enable/disable empty favorites in bouquet list

This commit is contained in:
[CST] Focus
2014-10-27 13:52:23 +03:00
parent 2d7b746685
commit 8772d219f1
3 changed files with 12 additions and 5 deletions

View File

@@ -2378,7 +2378,7 @@ void CChannelList::editMode(bool enable)
channelsChanged = false;
bouquet->zapitBouquet->getChannels(channels, tvmode);
saveChanges(bouquet->zapitBouquet->bUser);
if ((*chanlist).empty())
if (!g_settings.show_empty_favorites && (*chanlist).empty())
CNeutrinoApp::getInstance()->MarkChannelsInit();
}
if (selected >= chanlist->size())