mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
gui/infoviewer_bb.cpp: fix tuner icon display
This commit is contained in:
@@ -195,7 +195,7 @@ void CInfoViewerBB::getBBIconInfo()
|
||||
iconView = checkBBIcon(NEUTRINO_ICON_SCRAMBLED2, &w, &h);
|
||||
break;
|
||||
case CInfoViewerBB::ICON_TUNER:
|
||||
if (g_settings.infobar_show_tuner == 1)
|
||||
if (CFEManager::getInstance()->getEnabledCount() > 1 && g_settings.infobar_show_tuner == 1)
|
||||
iconView = checkBBIcon(NEUTRINO_ICON_TUNER_1, &w, &h);
|
||||
break;
|
||||
default:
|
||||
@@ -596,7 +596,7 @@ void CInfoViewerBB::showOne_CAIcon()
|
||||
|
||||
void CInfoViewerBB::showIcon_Tuner()
|
||||
{
|
||||
if(CFEManager::getInstance()->getFrontendCount() <= 1)
|
||||
if (CFEManager::getInstance()->getEnabledCount() <= 1 || !g_settings.infobar_show_tuner)
|
||||
return;
|
||||
|
||||
std::string icon_name;
|
||||
|
Reference in New Issue
Block a user