mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
CNeutrinoEventList::exec call hide only once
Conflicts:
src/gui/eventlist.cpp
Origin commit data
------------------
Commit: 8cd93f64f1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-10 (Fri, 10 May 2013)
This commit is contained in:
committed by
[CST] Focus
parent
ae3400afc9
commit
db22e7e291
@@ -300,11 +300,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);
|
||||
@@ -576,6 +576,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) {
|
||||
@@ -651,8 +652,10 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c
|
||||
}
|
||||
}
|
||||
|
||||
hide();
|
||||
fader.Stop();
|
||||
if(!dont_hide){
|
||||
hide();
|
||||
fader.Stop();
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user