mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
gui/bouquetlist.cpp: fix inactive color when called to add channel to bouquet
Origin commit data
------------------
Commit: 040b2a958e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-05 (Wed, 05 Mar 2014)
This commit is contained in:
@@ -570,7 +570,7 @@ void CBouquetList::paintItem(int pos)
|
|||||||
if(npos < (int) Bouquets.size())
|
if(npos < (int) Bouquets.size())
|
||||||
CVFD::getInstance()->showMenuText(0, lname, -1, true);
|
CVFD::getInstance()->showMenuText(0, lname, -1, true);
|
||||||
} else {
|
} else {
|
||||||
if(npos < (int) Bouquets.size())
|
if(!favonly && (npos < (int) Bouquets.size()))
|
||||||
iscurrent = !Bouquets[npos]->channelList->isEmpty();
|
iscurrent = !Bouquets[npos]->channelList->isEmpty();
|
||||||
color = iscurrent ? COL_MENUCONTENT_TEXT : COL_MENUCONTENTINACTIVE_TEXT;
|
color = iscurrent ? COL_MENUCONTENT_TEXT : COL_MENUCONTENTINACTIVE_TEXT;
|
||||||
bgcolor = iscurrent ? COL_MENUCONTENT_PLUS_0 : COL_MENUCONTENTINACTIVE_PLUS_0;
|
bgcolor = iscurrent ? COL_MENUCONTENT_PLUS_0 : COL_MENUCONTENTINACTIVE_PLUS_0;
|
||||||
|
Reference in New Issue
Block a user