mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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
Origin commit data
------------------
Branch: ni/coolstream
Commit: af0cc784c3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-30 (Sun, 30 Oct 2011)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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.recording_type != CNeutrinoApp::RECORDING_OFF) &&
|
||||
(g_settings.key_channelList_addrecord != (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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user