Revert "very bad idea src/gui/channellist.cpp fix current channel after edit mode"

This reverts commit 6593dcb064.
This commit is contained in:
Jacek Jendrzej
2016-05-17 09:46:10 +02:00
parent 6593dcb064
commit 0b07edaffe

View File

@@ -1185,8 +1185,7 @@ void CChannelList::zapToChannel(CZapitChannel *channel, bool force)
selected_chid = channel->getChannelID();
g_RemoteControl->zapTo_ChannelID(selected_chid, channel->getName(), channel->number, (channel->Locked() == g_settings.parentallock_defaultlocked));
if(CNeutrinoApp::getInstance()->adjustToChannelID(channel->getChannelID()))
CZapit::getInstance()->SetCurrentChannelID(channel->getChannelID());
CNeutrinoApp::getInstance()->adjustToChannelID(channel->getChannelID());
}
if(new_zap_mode != 2 /* not active */) {
/* remove recordModeActive from infobar */