mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- 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();
|
||||
|
||||
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)
|
||||
armed = true;
|
||||
|
Reference in New Issue
Block a user