neutrino: fix painting of button bar in eventlist

if sort record and remind buttons are not set, then the button bar would
vanish at every key up/down event

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1797 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2011-10-30 14:09:21 +00:00
parent 6c7a8e5184
commit af0cc784c3

View File

@@ -375,13 +375,12 @@ int EventList::exec(const t_channel_id channel_id, const std::string& channelnam
bool paint_buttonbar = false; //function bar
int step = 0;
int prev_selected = selected;
// TODO: do we need this at all? Search button is always painted IIUC...
if ((g_settings.key_channelList_addremind != (int)CRCInput::RC_nokey) ||
(g_settings.key_channelList_sort != (int)CRCInput::RC_nokey) ||
((g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) &&
(g_settings.key_channelList_addrecord != (int)CRCInput::RC_nokey)))
{
paint_buttonbar = true;
}
if (msg == CRCInput::RC_up || (int) msg == g_settings.key_channelList_pageup)
{