add MenuTest code
This commit is contained in:
natural-law 2010-08-28 09:08:10 +00:00
parent aec3660ec4
commit 480004651b
1 changed files with 6 additions and 2 deletions

View File

@ -176,8 +176,12 @@ void TestController::updateItemsText()
if (nIdx < TESTS_COUNT)
{
std::string menuText = g_aTestNames[nIdx];
m_pMenuItems[i]->setString(menuText.c_str());
m_pMenuItems[i]->setIsVisible(true);
if (! menuText.empty())
{
m_pMenuItems[i]->setString(menuText.c_str());
m_pMenuItems[i]->setIsVisible(true);
}
}
}
}