CInfoViewer: reset zapmode if not in default mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
defans
2016-01-24 16:13:55 +01:00
committed by M. Liebmann
parent f521e32981
commit 12c3a15c10

View File

@@ -665,6 +665,9 @@ void CInfoViewer::showTitle(t_channel_id chid, const bool calledFromNumZap, int
void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap, int epgpos)
{
if(!calledFromNumZap && zap_mode != IV_MODE_DEFAULT)
resetSwitchMode();
std::string Channel = channel->getName();
t_satellite_position satellitePosition = channel->getSatellitePosition();
t_channel_id new_channel_id = channel->getChannelID();