- channellist: move avoid-zap-in-movieplayer-mode-message ...

... to a global reachable place to avoid all zap tries

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-07-29 00:54:55 +02:00
committed by Thilo Graf
parent 530c3e1c1b
commit c129312235
2 changed files with 7 additions and 10 deletions

View File

@@ -1081,10 +1081,7 @@ int EpgPlus::exec(CChannelList * pchannelList, int selectedChannelIndex, CBouque
{
if (selectedChannelEntry)
{
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
ShowHint(LOCALE_MESSAGEBOX_INFO, LOCALE_MOVIEPLAYER_ZAP);
else
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(selectedChannelEntry->channel->getChannelID());
CNeutrinoApp::getInstance()->channelList->zapTo_ChannelID(selectedChannelEntry->channel->getChannelID());
}
current_bouquet = bouquetList->getActiveBouquetNumber();
}