mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CNeutrinoApp::SetChannelMode: adjust to live channel instead of a semi-random one at startup
This commit is contained in:
@@ -1523,7 +1523,7 @@ void CNeutrinoApp::SetChannelMode(int newmode)
|
|||||||
if(g_settings.channellist_sort_mode == CChannelList::SORT_CH_NUMBER)
|
if(g_settings.channellist_sort_mode == CChannelList::SORT_CH_NUMBER)
|
||||||
bouquetList->Bouquets[i]->channelList->SortChNumber();
|
bouquetList->Bouquets[i]->channelList->SortChNumber();
|
||||||
}
|
}
|
||||||
channelList->adjustToChannelID(channelList->getActiveChannel_ChannelID());
|
channelList->adjustToChannelID(CZapit::getInstance()->GetCurrentChannelID());
|
||||||
}
|
}
|
||||||
lastChannelMode = newmode;
|
lastChannelMode = newmode;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user