mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
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:
committed by
Jacek Jendrzej
parent
77ecbfb405
commit
057f3a8964
@@ -697,7 +697,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;
|
||||
|
Reference in New Issue
Block a user