mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
adzap: update monitorLifeTime before leaving in case event has changed
Origin commit data
------------------
Commit: 3cee9eeb6e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-28 (Sun, 28 Feb 2016)
Origin message was:
------------------
- adzap: update monitorLifeTime before leaving in case event has changed
This commit is contained in:
@@ -232,6 +232,9 @@ int CAdZapMenu::exec(CMenuTarget *parent, const std::string & actionKey)
|
|||||||
armed = false;
|
armed = false;
|
||||||
monitor = true;
|
monitor = true;
|
||||||
alerted = false;
|
alerted = false;
|
||||||
|
if (!evtlist.empty())
|
||||||
|
monitorLifeTime.tv_sec = getMonitorLifeTime();
|
||||||
|
printf("CAdZapMenu::%s: monitorLifeTime.tv_sec: %d\n", __func__, (uint) monitorLifeTime.tv_sec);
|
||||||
Update();
|
Update();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user