mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- timerlist: fix yellow on/off behaviour when back item is selected
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -363,6 +363,8 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
if (actionKey == "onoff_ip")
|
if (actionKey == "onoff_ip")
|
||||||
{
|
{
|
||||||
bselected = remboxmenu->getSelected();
|
bselected = remboxmenu->getSelected();
|
||||||
|
if (bselected < item_offset)
|
||||||
|
return menu_return::RETURN_NONE;
|
||||||
CMenuItem* item = remboxmenu->getItem(bselected);
|
CMenuItem* item = remboxmenu->getItem(bselected);
|
||||||
CMenuForwarder *f = static_cast<CMenuForwarder*>(item);
|
CMenuForwarder *f = static_cast<CMenuForwarder*>(item);
|
||||||
std::vector<timer_remotebox_item>::iterator it = g_settings.timer_remotebox_ip.begin();
|
std::vector<timer_remotebox_item>::iterator it = g_settings.timer_remotebox_ip.begin();
|
||||||
|
Reference in New Issue
Block a user