eventlist: use RC_timer or RC_program to execute timerlist; use new timer icon

Origin commit data
------------------
Branch: ni/coolstream
Commit: a0e1cab9a0
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-03-08 (Thu, 08 Mar 2018)

Origin message was:
------------------
- eventlist: use RC_timer or RC_program to execute timerlist; use new timer icon

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-03-08 22:15:53 +01:00
parent 94640e0500
commit 1221b31fc6

View File

@@ -595,7 +595,8 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
exec(_channel_id, current_channel_name, prev_channel_name, next_channel_name);
}
}
else if (msg == CRCInput::RC_0) {
else if (msg == CRCInput::RC_timer || msg == CRCInput::RC_program)
{
hide();
CTimerList *Timerlist = new CTimerList;
@@ -1057,7 +1058,7 @@ void CEventList::paintFoot(t_channel_id channel_id)
btn_cnt++;
//NI timerlist button
buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_0;
buttons[btn_cnt].button = NEUTRINO_ICON_BUTTON_TIMER;
buttons[btn_cnt].locale = LOCALE_TIMERLIST_NAME;
btn_cnt++;