mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CNeutrinoEventList::exec call hide only once
Origin commit data
------------------
Commit: 28c67bbc9b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-10 (Fri, 10 May 2013)
This commit is contained in:
@@ -306,11 +306,11 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c
|
||||
}
|
||||
UpdateTimerList();
|
||||
|
||||
bool dont_hide = false;
|
||||
if(channelname_prev.empty(), channelname_next.empty()){
|
||||
paintHead(channel_id, channelname);
|
||||
}else{
|
||||
paintHead(channelname, channelname_prev, channelname_next);
|
||||
|
||||
}
|
||||
paint(channel_id);
|
||||
showFunctionBar(true, channel_id);
|
||||
@@ -580,6 +580,7 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c
|
||||
}
|
||||
}
|
||||
loop = false;
|
||||
dont_hide = true;
|
||||
exec(_channel_id, current_channel_name, prev_channel_name, next_channel_name);
|
||||
}
|
||||
else if (msg == CRCInput::RC_0) {
|
||||
@@ -671,8 +672,10 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c
|
||||
oldEventID = -1;
|
||||
bgRightBoxPaint = false;
|
||||
|
||||
hide();
|
||||
fader.Stop();
|
||||
if(!dont_hide){
|
||||
hide();
|
||||
fader.Stop();
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user