streaminfo: show techinfo in TS_MODE if channelist is empty

Origin commit data
------------------
Commit: 6c6ef9b43a
Author: GetAway <get-away@t-online.de>
Date: 2018-11-13 (Tue, 13 Nov 2018)
This commit is contained in:
GetAway
2018-11-13 20:52:30 +01:00
committed by vanhofen
parent 3b192fbf3e
commit 6b7035e955
4 changed files with 23 additions and 8 deletions

View File

@@ -104,7 +104,8 @@ int CInfoMenu::showMenu()
mf->setHint(NEUTRINO_ICON_HINT_DBOXINFO, LOCALE_MENU_HINT_DBOXINFO);
info->addItem(mf);
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, !CNeutrinoApp::getInstance()->channelList->isEmpty(), NULL, &streaminfo, NULL, CRCInput::RC_yellow);
bool _mode_ts = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts);
mf = new CMenuForwarder(LOCALE_STREAMINFO_HEAD, _mode_ts || !CNeutrinoApp::getInstance()->channelList->isEmpty(), NULL, &streaminfo, NULL, CRCInput::RC_yellow);
mf->setHint(NEUTRINO_ICON_HINT_STREAMINFO, LOCALE_MENU_HINT_STREAMINFO);
info->addItem(mf);
#if 0