mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-09 22:58:34 +02:00
disable tech.info if channelist is empty (fix possible segfault)
This commit is contained in:
@@ -79,7 +79,7 @@ int CInfoMenu::showMenu()
|
||||
mf->setHint(NEUTRINO_ICON_HINT_DBOXINFO, LOCALE_MENU_HINT_DBOXINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, true, NULL, &streaminfo, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, !CNeutrinoApp::getInstance()->channelList->isEmpty(), NULL, &streaminfo, NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_STREAMINFO, LOCALE_MENU_HINT_STREAMINFO);
|
||||
info->addItem(mf);
|
||||
|
||||
|
Reference in New Issue
Block a user