mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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
Origin commit data
------------------
Commit: f9764e5e65
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-27 (Sun, 27 Oct 2013)
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)
|
||||
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