mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
supplement 2 to 5f9f82b8e6
This commit is contained in:
@@ -378,14 +378,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
|
|||||||
UpdateTimerList();
|
UpdateTimerList();
|
||||||
|
|
||||||
bool dont_hide = false;
|
bool dont_hide = false;
|
||||||
if(channelname_prev.empty() && channelname_next.empty()){
|
paintHead(channel_id, channelname, channelname_prev, channelname_next);
|
||||||
std::string nextChannelName,prevChannelName,tmp;
|
|
||||||
t_channel_id tmp_channel_id = channel_id;
|
|
||||||
getPrvNextChannelName(tmp_channel_id, nextChannelName, prevChannelName, tmp,0);
|
|
||||||
paintHead(channel_id, channelname, prevChannelName, nextChannelName);
|
|
||||||
}else{
|
|
||||||
paintHead(channel_id, channelname, channelname_prev, channelname_next);
|
|
||||||
}
|
|
||||||
paint(channel_id);
|
paint(channel_id);
|
||||||
showFunctionBar(channel_id);
|
showFunctionBar(channel_id);
|
||||||
|
|
||||||
@@ -898,6 +891,10 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
|
|||||||
|
|
||||||
header->paint(CC_SAVE_SCREEN_NO);
|
header->paint(CC_SAVE_SCREEN_NO);
|
||||||
|
|
||||||
|
if(_channelname_prev.empty() && _channelname_next.empty()){
|
||||||
|
getPrvNextChannelName(_channel_id, _channelname_next, _channelname_prev, _channelname,0);
|
||||||
|
}
|
||||||
|
|
||||||
paintBottomBox(_channelname_prev, _channelname_next);
|
paintBottomBox(_channelname_prev, _channelname_next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user