yt: fix refreshTitle

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8de557b5e9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-01 (Sat, 01 Jun 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-06-01 12:53:28 +02:00
committed by vanhofen
parent 1f30f2d366
commit c9f55de6af

View File

@@ -2042,6 +2042,8 @@ void CMovieBrowser::refreshTitle(void)
if (!m_header){
m_header = new CComponentsHeader(x, y, w, h, title.c_str(), icon, CComponentsHeader::CC_BTN_LEFT | CComponentsHeader::CC_BTN_RIGHT | CComponentsHeader::CC_BTN_HELP);
}else{
m_header->setCaption(title.c_str());
}
m_header->paint(CC_SAVE_SCREEN_NO);
newHeader = m_header->isPainted();