From 9cb877726e53a643102f9765f8c366df2a66b38d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 1 May 2014 17:31:29 +0400 Subject: [PATCH] gui/widget/menue.cpp: show right-side item icon for inactive items, too Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4d0cacbd614e00203a51f2617d9af63422392f7d Author: [CST] Focus Date: 2014-05-01 (Thu, 01 May 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index c04adfa95..8e8b41780 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -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); - 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)) ); } }