From 72f5846ac87f5b355a42de41a4aa89d204352e03 Mon Sep 17 00:00:00 2001 From: martii Date: Sat, 1 Mar 2014 12:43:19 +0100 Subject: [PATCH] CNeutrinoApp::SetChannelMode: adjust to live channel instead of a semi-random one at startup Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/26aecaf40893af6b238de6658c52891b354eac5b Author: martii Date: 2014-03-01 (Sat, 01 Mar 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 81aa36f4d..d3b90e289 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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; }