mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
adzap: start adzap directly when ok is pressed on marked item
Origin commit data
------------------
Commit: 817e6dc67e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Origin message was:
------------------
- adzap: start adzap directly when ok is pressed on marked item
This commit is contained in:
@@ -245,8 +245,9 @@ int CAdZapMenu::exec(CMenuTarget *parent, const std::string & actionKey)
|
|||||||
Init();
|
Init();
|
||||||
|
|
||||||
int res = menu_return::RETURN_EXIT_ALL;
|
int res = menu_return::RETURN_EXIT_ALL;
|
||||||
|
bool marked_ok = (actionKey.length() == 1 && g_settings.adzap_zapBackPeriod == (actionKey[0] - '0') * 60);
|
||||||
|
|
||||||
if (actionKey == "enable")
|
if (actionKey == "enable" || marked_ok)
|
||||||
{
|
{
|
||||||
if (!monitor)
|
if (!monitor)
|
||||||
armed = true;
|
armed = true;
|
||||||
|
Reference in New Issue
Block a user