gui/widget/menue.cpp: show right-side item icon for inactive items, too

This commit is contained in:
[CST] Focus
2014-05-01 17:31:29 +04:00
parent 858fbd217e
commit 4d0cacbd61

View File

@@ -287,7 +287,7 @@ void CMenuItem::paintItemButton(const bool select_mode, const int &item_height,
{ {
frameBuffer->getIconSize(iconName_Info_right.c_str(), &icon_w, &icon_h); frameBuffer->getIconSize(iconName_Info_right.c_str(), &icon_w, &icon_h);
if (active && icon_w>0 && icon_h>0) if (/* active && */ icon_w>0 && icon_h>0)
icon_painted = frameBuffer->paintIcon(iconName_Info_right, dx + icon_start_x - (icon_w + 20), y+ ((item_height/2- icon_h/2)) ); icon_painted = frameBuffer->paintIcon(iconName_Info_right, dx + icon_start_x - (icon_w + 20), y+ ((item_height/2- icon_h/2)) );
} }
} }