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:
Jacek Jendrzej
2013-05-10 11:28:22 +02:00
parent 09c0ef5602
commit 543bfb022b

View File

@@ -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;
if(!dont_hide){
hide();
fader.Stop();
}
return res;
}