gui/bouquetlist.cpp: fix inactive color when called to add channel to bouquet

This commit is contained in:
[CST] Focus
2014-03-05 12:27:22 +04:00
parent ea1e2706f8
commit 040b2a958e

View File

@@ -570,7 +570,7 @@ void CBouquetList::paintItem(int pos)
if(npos < (int) Bouquets.size())
CVFD::getInstance()->showMenuText(0, lname, -1, true);
} else {
if(npos < (int) Bouquets.size())
if(!favonly && (npos < (int) Bouquets.size()))
iscurrent = !Bouquets[npos]->channelList->isEmpty();
color = iscurrent ? COL_MENUCONTENT_TEXT : COL_MENUCONTENTINACTIVE_TEXT;
bgcolor = iscurrent ? COL_MENUCONTENT_PLUS_0 : COL_MENUCONTENTINACTIVE_PLUS_0;