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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8772d219f1
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-27 (Mon, 27 Oct 2014)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-10-27 13:52:23 +03:00
parent d0b07c619f
commit 07d6899667
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())