Fix display numeric item icons

- Required for some custom icons


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8c42ad8dd5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-10-16 05:12:58 +02:00
parent 2930d7e4bc
commit ee217a1d42

View File

@@ -1075,7 +1075,7 @@ void CMenuWidget::calcSize()
iconOffset= 0;
for (unsigned int i= 0; i< items.size(); i++)
if (items[i]->iconName && (/*!g_settings.menu_numbers_as_icons ||*/ !CRCInput::isNumeric(items[i]->directKey)))
if (items[i]->iconName /*&& !g_settings.menu_numbers_as_icons*/)
{
int w, h;
frameBuffer->getIconSize(items[i]->iconName, &w, &h);