From eedf2f9e49879a8c2881b8f5cc8272ab19f8c136 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 16 Apr 2013 12:50:24 +0400 Subject: [PATCH] gui/infoviewer_bb.cpp: fix tuner icon display --- src/gui/infoviewer_bb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/infoviewer_bb.cpp b/src/gui/infoviewer_bb.cpp index 9bca029dd..93afcd382 100644 --- a/src/gui/infoviewer_bb.cpp +++ b/src/gui/infoviewer_bb.cpp @@ -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;