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

Origin commit data
------------------
Commit: 26aecaf408
Author: martii <m4rtii@gmx.de>
Date: 2014-03-01 (Sat, 01 Mar 2014)
This commit is contained in:
martii
2014-03-01 12:43:19 +01:00
committed by vanhofen
parent cc6c0ec9cc
commit b7e75976da

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;
}