Fix ghost text in channellist & epg view

Complement to commit 8dd426d
This commit is contained in:
M. Liebmann
2016-01-27 14:59:07 +01:00
parent 87e6f328dd
commit d85bb1d09b
3 changed files with 3 additions and 0 deletions

View File

@@ -646,6 +646,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
headerPic = new CComponentsPicture(sx+10, sy + (header_h-logo_h)/2, logo_w, logo_h, lname);
headerPic->doPaintBg(false);
}
header->enableGradientBgCleanUp();
std::string textAll = (!text2.empty()) ? text1 + "\n" + text2 : text1;
headerText = new CComponentsText(sx+15+pic_offx, sy, ox-15-pic_offx, header_h, textAll, CTextBox::NO_AUTO_LINEBREAK, g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]);
headerText->doPaintBg(false);