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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 26aecaf408
Author: martii <m4rtii@gmx.de>
Date: 2014-03-01 (Sat, 01 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-03-01 12:43:19 +01:00
committed by vanhofen
parent 19662f7307
commit 72f5846ac8

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