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();
|
UpdateTimerList();
|
||||||
|
|
||||||
|
bool dont_hide = false;
|
||||||
if(channelname_prev.empty(), channelname_next.empty()){
|
if(channelname_prev.empty(), channelname_next.empty()){
|
||||||
paintHead(channel_id, channelname);
|
paintHead(channel_id, channelname);
|
||||||
}else{
|
}else{
|
||||||
paintHead(channelname, channelname_prev, channelname_next);
|
paintHead(channelname, channelname_prev, channelname_next);
|
||||||
|
|
||||||
}
|
}
|
||||||
paint(channel_id);
|
paint(channel_id);
|
||||||
showFunctionBar(true, 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;
|
loop = false;
|
||||||
|
dont_hide = true;
|
||||||
exec(_channel_id, current_channel_name, prev_channel_name, next_channel_name);
|
exec(_channel_id, current_channel_name, prev_channel_name, next_channel_name);
|
||||||
}
|
}
|
||||||
else if (msg == CRCInput::RC_0) {
|
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;
|
oldEventID = -1;
|
||||||
bgRightBoxPaint = false;
|
bgRightBoxPaint = false;
|
||||||
|
|
||||||
|
if(!dont_hide){
|
||||||
hide();
|
hide();
|
||||||
fader.Stop();
|
fader.Stop();
|
||||||
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user