From d29b7185440747d344fe1a913e449795fe372c8b Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 12 Oct 2016 20:55:28 +0200 Subject: [PATCH] eventlist: remove unnecessary hide of footer Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/4b0b32833fb39615c8968010a08ed47659fc94a2 Author: vanhofen Date: 2016-10-12 (Wed, 12 Oct 2016) Origin message was: ------------------ - eventlist: remove unnecessary hide of footer ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/eventlist.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 0bb87482e..8659fcbae 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -363,14 +363,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna if (msg == CRCInput::RC_up || (int) msg == g_settings.key_pageup || msg == CRCInput::RC_down || (int) msg == g_settings.key_pagedown) { - bool paint_buttonbar = false; //function bar 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; int new_sel = UpDownKey(evtlist, msg, listmaxshow, selected); if (new_sel >= 0) { selected = new_sel; @@ -385,7 +378,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna else paintItem(selected - liststart, channel_id); - showFunctionBar(paint_buttonbar, channel_id); + showFunctionBar(true, channel_id); } //sort else if (!showfollow && (msg == (neutrino_msg_t)g_settings.key_channelList_sort))