disable tech.info if channelist is empty (fix possible segfault)

Origin commit data
------------------
Commit: 775a4a7229
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-20 (Sat, 20 Oct 2012)
This commit is contained in:
Jacek Jendrzej
2012-10-20 13:26:27 +02:00
parent 075dd64e96
commit d3e8add995
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ bool CUserMenu::showUserMenu(int button)
menu_prev = SNeutrinoSettings::ITEM_TECHINFO;
streamInfo = new CStreamInfo2();
keyhelper.get(&key,&icon,CRCInput::RC_blue);
menu_item = new CMenuForwarder(LOCALE_EPGMENU_STREAMINFO, true, NULL, streamInfo, "-1", key, icon );
menu_item = new CMenuForwarder(LOCALE_EPGMENU_STREAMINFO, !CNeutrinoApp::getInstance()->channelList->isEmpty(), NULL, streamInfo, "-1", key, icon );
menu->addItem(menu_item, false);
break;
case SNeutrinoSettings::ITEM_GAMES: