mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -2042,6 +2042,8 @@ void CMovieBrowser::refreshTitle(void)
|
|||||||
|
|
||||||
if (!m_header){
|
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);
|
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);
|
m_header->paint(CC_SAVE_SCREEN_NO);
|
||||||
newHeader = m_header->isPainted();
|
newHeader = m_header->isPainted();
|
||||||
|
Reference in New Issue
Block a user