channellist: fix parental locking

fix a merge error introduced during  the twin merge (correct
code was in commt 3999e8d0e2)
This commit is contained in:
Stefan Seyfried
2012-09-16 23:57:31 +02:00
parent 2e46d81b88
commit 7a4e58e44f

View File

@@ -1139,7 +1139,7 @@ void CChannelList::zapToChannel(CZapitChannel *channel)
}
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());
}
if(!this->new_mode_active) {