channellist: fix parental locking

fix a merge error introduced during the twin merge (correct
code was in commt af6edcdc68)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7a4e58e44f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-16 (Sun, 16 Sep 2012)

Origin message was:
------------------
channellist: fix parental locking

fix a merge error introduced during the twin merge (correct
code was in commt af6edcdc68)


------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-09-16 23:57:31 +02:00
parent 9eaeb2866d
commit ffb81abcb1

View File

@@ -1139,7 +1139,7 @@ void CChannelList::zapToChannel(CZapitChannel *channel)
} }
selected_chid = channel->getChannelID(); selected_chid = channel->getChannelID();
g_RemoteControl->zapTo_ChannelID(channel->getChannelID(), channel->getName(), !channel->bAlwaysLocked); g_RemoteControl->zapTo_ChannelID(selected_chid, channel->getName(), (channel->bAlwaysLocked == g_settings.parentallock_defaultlocked));
CNeutrinoApp::getInstance()->channelList->adjustToChannelID(channel->getChannelID()); CNeutrinoApp::getInstance()->channelList->adjustToChannelID(channel->getChannelID());
} }
if(!this->new_mode_active) { if(!this->new_mode_active) {