gui/channellist.cpp: fix current transponder key

Origin commit data
------------------
Branch: ni/coolstream
Commit: 06372e1856
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-08 (Mon, 08 Apr 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-04-08 18:02:03 +04:00
parent f2921ea799
commit 948ba1373b

View File

@@ -1267,12 +1267,12 @@ int CChannelList::numericZap(int key)
} }
return res; return res;
} }
if ((key == g_settings.key_zaphistory) || (key == CRCInput::RC_games)) { if ((key == g_settings.key_zaphistory) || (key == g_settings.key_current_transponder)) {
if((!autoshift && CNeutrinoApp::getInstance()->recordingstatus) || (key == CRCInput::RC_games)) { if((!autoshift && CNeutrinoApp::getInstance()->recordingstatus) || (key == g_settings.key_current_transponder)) {
CChannelList * orgList = CNeutrinoApp::getInstance()->channelList; CChannelList * orgList = CNeutrinoApp::getInstance()->channelList;
CChannelList * channelList = new CChannelList(g_Locale->getText(LOCALE_CHANNELLIST_CURRENT_TP), false, true); CChannelList * channelList = new CChannelList(g_Locale->getText(LOCALE_CHANNELLIST_CURRENT_TP), false, true);
if(key == CRCInput::RC_games) { if(key == g_settings.key_current_transponder) {
t_channel_id recid = chanlist[selected]->channel_id >> 16; t_channel_id recid = chanlist[selected]->channel_id >> 16;
for ( unsigned int i = 0 ; i < orgList->chanlist.size(); i++) { for ( unsigned int i = 0 ; i < orgList->chanlist.size(); i++) {
if((orgList->chanlist[i]->channel_id >> 16) == recid) if((orgList->chanlist[i]->channel_id >> 16) == recid)