neutrino: make g_channel_list_changed private

Add a setter function MarkChannelListChanged() instead for
bouquet/channel list. This avoids sometimes not reloading
channels after changes in the service menu.
This commit is contained in:
Stefan Seyfried
2013-04-14 19:42:28 +02:00
committed by [CST] Focus
parent 676ef79dca
commit c0c008190e
4 changed files with 7 additions and 5 deletions

View File

@@ -700,7 +700,8 @@ int CChannelList::show()
old_b_id = bouquetList->getActiveBouquetNumber();
fader.Stop();
int ret = doChannelMenu();
CNeutrinoApp::getInstance()->g_channel_list_changed = (ret != 0);
if (ret != 0)
CNeutrinoApp::getInstance()->MarkChannelListChanged();
if (ret == 1) {
res = -3 - ret; /* -5 == add to fav or bouquet, -4 == all other change */
loop = false;