CNeutrinoApp::SetChannelMode: adjust to live channel instead of a semi-random one at startup

This commit is contained in:
martii
2014-03-01 12:43:19 +01:00
committed by svenhoefer
parent 3a4b873b88
commit 26aecaf408

View File

@@ -1523,7 +1523,7 @@ void CNeutrinoApp::SetChannelMode(int newmode)
if(g_settings.channellist_sort_mode == CChannelList::SORT_CH_NUMBER)
bouquetList->Bouquets[i]->channelList->SortChNumber();
}
channelList->adjustToChannelID(channelList->getActiveChannel_ChannelID());
channelList->adjustToChannelID(CZapit::getInstance()->GetCurrentChannelID());
}
lastChannelMode = newmode;
}