mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
eventlist: remove unnecessary hide of footer
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b0b32833f
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
@@ -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 ||
|
if (msg == CRCInput::RC_up || (int) msg == g_settings.key_pageup ||
|
||||||
msg == CRCInput::RC_down || (int) msg == g_settings.key_pagedown)
|
msg == CRCInput::RC_down || (int) msg == g_settings.key_pagedown)
|
||||||
{
|
{
|
||||||
bool paint_buttonbar = false; //function bar
|
|
||||||
int prev_selected = selected;
|
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);
|
int new_sel = UpDownKey(evtlist, msg, listmaxshow, selected);
|
||||||
if (new_sel >= 0) {
|
if (new_sel >= 0) {
|
||||||
selected = new_sel;
|
selected = new_sel;
|
||||||
@@ -385,7 +378,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
|
|||||||
else
|
else
|
||||||
paintItem(selected - liststart, channel_id);
|
paintItem(selected - liststart, channel_id);
|
||||||
|
|
||||||
showFunctionBar(paint_buttonbar, channel_id);
|
showFunctionBar(true, channel_id);
|
||||||
}
|
}
|
||||||
//sort
|
//sort
|
||||||
else if (!showfollow && (msg == (neutrino_msg_t)g_settings.key_channelList_sort))
|
else if (!showfollow && (msg == (neutrino_msg_t)g_settings.key_channelList_sort))
|
||||||
|
Reference in New Issue
Block a user