CInfoViewer: reset zapmode if not in default mode

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 12c3a15c10
Author: defans <defans@bluepeercrew.us>
Date: 2016-01-24 (Sun, 24 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
defans
2016-01-24 16:13:55 +01:00
committed by Michael Liebmann
parent 3af0b12583
commit 37ac9cd625

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();