CNeutrinoEventList: Paint event list alone after the list was sorted

- paintDescription(): force paint of text


Origin commit data
------------------
Branch: ni/coolstream
Commit: 266a975e5b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-04 (Sat, 04 May 2013)

Origin message was:
------------------
* CNeutrinoEventList: Paint event list alone after the list was sorted

- paintDescription(): force paint of text


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-05-04 01:51:51 +02:00
parent 1d32a145d6
commit 0187e14293

View File

@@ -420,11 +420,7 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c
liststart=0;
else
liststart=(selected/listmaxshow)*listmaxshow;
hide();
paintHead(channel_id, channelname);
paint(channel_id);
showFunctionBar(true, channel_id);
}
// -- I commented out the following part (code is working)
@@ -831,13 +827,14 @@ void CNeutrinoEventList::paintDescription(int index)
CEitManager::getInstance()->getActualEPGServiceKey(evtlist[index].channelID, &epgData );
if(!epgData.info2.empty())
infozone_text = epgData.info2.c_str();
infozone_text = epgData.info2;
else
infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
cc_infozone->setText(infozone_text, CTextBox::TOP, g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_EVENT]);
cc_infozone->doPaintTextBoxBg(true);
cc_infozone->doPaintBg(false);
cc_infozone->forceTextPaint();
cc_infozone->paint(CC_SAVE_SCREEN_NO);
}