neutrino: try to prevent using chanellist/bouquetlist while channels init in progress

This commit is contained in:
[CST] Focus
2015-01-13 16:10:15 +03:00
parent 3fa37a6670
commit 3da439030b
5 changed files with 20 additions and 0 deletions

View File

@@ -563,6 +563,10 @@ int CBouquetList::show(bool bShowChannelList)
int new_selected = (chn - 1) % Bouquets.size(); // is % necessary (i.e. can firstselected be > Bouquets.size()) ?
updateSelection(new_selected);
}
} else if (msg == NeutrinoMessages::EVT_SERVICESCHANGED || msg == NeutrinoMessages::EVT_BOUQUETSCHANGED) {
g_RCInput->postMsg(msg, data);
loop = false;
res = CHANLIST_CANCEL_ALL;
} else if (msg > CRCInput::RC_MaxRC) {
if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all ) {
loop = false;