mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user