timerlist: fix yellow on/off behaviour when back item is selected

Origin commit data
------------------
Branch: ni/coolstream
Commit: 551f9963a9
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-12-20 (Thu, 20 Dec 2018)

Origin message was:
------------------
- timerlist: fix yellow on/off behaviour when back item is selected

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-12-20 23:18:10 +01:00
parent 1ec6627f5a
commit eae3a84ab5

View File

@@ -363,6 +363,8 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
if (actionKey == "onoff_ip")
{
bselected = remboxmenu->getSelected();
if (bselected < item_offset)
return menu_return::RETURN_NONE;
CMenuItem* item = remboxmenu->getItem(bselected);
CMenuForwarder *f = static_cast<CMenuForwarder*>(item);
std::vector<timer_remotebox_item>::iterator it = g_settings.timer_remotebox_ip.begin();