mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
channellist: fix lock icon for default-locked bouquets
This commit is contained in:
@@ -2035,7 +2035,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
void CChannelList::paintHead()
|
||||
{
|
||||
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
||||
if (bouquet && bouquet->zapitBouquet && bouquet->zapitBouquet->bLocked)
|
||||
if (bouquet && bouquet->zapitBouquet && bouquet->zapitBouquet->bLocked != g_settings.parentallock_defaultlocked)
|
||||
header.setIcon(NEUTRINO_ICON_LOCK);
|
||||
if (edit_state)
|
||||
header.setCaption(std::string(g_Locale->getText(LOCALE_CHANNELLIST_EDIT)) + ": " + name);
|
||||
|
Reference in New Issue
Block a user