CMovieBrowser: force paint of background after show of movieinfo

Movieinfo text background was transparent after closed info message box and
reset of text causes a repaint.
see also:
http://www.dbox2world.net/board293-cst-coolstream/board314-cst-coolstream-development/p158375-next-cc-branch/#post158375
This commit is contained in:
2013-10-27 17:12:30 +01:00
parent 5c7e926a86
commit f9764e5e65

View File

@@ -1242,12 +1242,14 @@ std::string CMovieBrowser::getScreenshotName(std::string movie)
void CMovieBrowser::refreshMovieInfo(void)
{
//TRACE("[mb]->refreshMovieInfo m_vMovieInfo.size %d\n", m_vMovieInfo.size());
//reset text before new init, m_pcInfo must be clean
std::string emptytext = " ";
if(m_vMovieInfo.empty()) {
if(m_pcInfo != NULL)
m_pcInfo->setText(&emptytext);
if(m_pcInfo)
m_pcInfo->setText(&emptytext);
if(m_vMovieInfo.empty())
return;
}
if (m_movieSelectionHandler == NULL) {
// There is no selected element, clear LCD
m_pcInfo->setText(&emptytext);