mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
fix parentallock for "bouquets default locked" case
in case of "default locked" bouquets, the "whole bouquet unlock"
did not work, because of the inverted logic in this case
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6e9496b18f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Jacek Jendrzej
parent
1a4ac8b281
commit
fa88bf80ef
@@ -2,7 +2,7 @@
|
||||
Neutrino-GUI - DBoxII-Project
|
||||
|
||||
Copyright (C) 2001 Steffen Hehn 'McClean'
|
||||
Copyright (C) 2007-2012 Stefan Seyfried
|
||||
Copyright (C) 2007-2015 Stefan Seyfried
|
||||
|
||||
Kommentar:
|
||||
|
||||
@@ -1048,7 +1048,8 @@ int CChannelList::handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data,
|
||||
(*chanlist)[selected]->last_unlocked_time = time_monotonic();
|
||||
int bnum = bouquetList->getActiveBouquetNumber();
|
||||
/* unlock only real locked bouquet, not whole satellite or all channels! */
|
||||
if (bnum >= 0 && bouquetList->Bouquets[bnum]->zapitBouquet && bouquetList->Bouquets[bnum]->zapitBouquet->bLocked)
|
||||
if (bnum >= 0 && bouquetList->Bouquets[bnum]->zapitBouquet &&
|
||||
bouquetList->Bouquets[bnum]->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked)
|
||||
{
|
||||
/* unlock the whole bouquet */
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user